public function getHelperCount($helperType)
    {
        if ($this->isValidKey($helperType)) {
            if (!is_null($formHelperMap = $this->getHelperMap()->get($helperType))) {
                return count($formHelperMap);
            }
            return 0;
        } else {
            throw new InvalidArgumentException('Invalid form helper type given');
        }
    }
public function getHelperCount($helperType)
    {
        if ($this->isValidKey($helperType)) {
            if (!is_null($formHelperMap = $this->getHelperMap()->get($helperType))) {
                return count($formHelperMap);
            }
            return 0;
        } else {
            throw new InvalidArgumentException('Invalid form helper type given');
        }
    }
public function getHelperCount ( $ helperType ) { if ( $ this -> isValidKey ( $ helperType ) ) { if ( ! is_null ( $ formHelperMap = $ this -> getHelperMap ( ) -> get ( $ helperType ) ) ) { return count ( $ formHelperMap ) ; } return 0 ; } else { throw new InvalidArgumentException ( 'Invalid form helper type given' ) ; } }
return count of registered form helper

@param       string      $helperType         helper type eg. tag, option, field, choise
@return      int

@throws  InvalidArgumentException
return count of registered form helper