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