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