src/Framework/Form/Fieldset.php
public function count()
    {
        $count = 0;
        foreach ($this->fields as $group) {
            $count += count($group);
        }
        return $count;
    }
public function count()
    {
        $count = 0;
        foreach ($this->fields as $group) {
            $count += count($group);
        }
        return $count;
    }
public function count ( ) { $ count = 0 ; foreach ( $ this -> fields as $ group ) { $ count += count ( $ group ) ; } return $ count ; }
Method to get the count of elements in the form fieldset

@return int
Method to get the count of elements in the form fieldset