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