$iterator->count() Counts all elements kirby/src/Toolkit/Iterator.php#L123 $iterator->count(): int Return type int Parent class Kirby\Toolkit\Iterator