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