menu 8 Menu Overview $blocks->count() Counts all elements $blocks->count(): int Return type int Inherited from Kirby\Toolkit\Iterator Source code kirby/src/Toolkit/Iterator.php#L123