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