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