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