Skip to content

Kirby 4.2.0

$iterator->count()

Counts all elements

$iterator->count(): int

Return type

int

Parent class

Kirby\Toolkit\Iterator