Skip to content

Kirby 4.5.0

$structure->count()

Counts all elements

$structure->count(): int

Return type

int

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Iterator