Skip to content

Kirby 4.4.1

$items->count()

Counts all elements

$items->count(): int

Return type

int

Parent class

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