Skip to content

Kirby 4.2.0

$items->count()

Counts all elements

$items->count(): int

Return type

int

Parent class

Kirby\Cms\Items inherited from Kirby\Toolkit\Iterator