$nestcollection->count() Counts all elements kirby/src/Toolkit/Iterator.php#L102 $nestcollection->count(): int Return type int Parent class Kirby\Cms\NestCollection inherited from Kirby\Toolkit\Iterator