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