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