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