Skip to content

Kirby 4.5.0

$iterator->count()

Counts all elements

$iterator->count(): int

Return type

int

Parent class

Kirby\Toolkit\Iterator