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