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