Skip to content

Kirby 4.5.0

$segments->count()

Counts all elements

$segments->count(): int

Return type

int

Parent class

Kirby\Query\Segments inherited from Kirby\Toolkit\Iterator