src/Pentagonal/Hookable/Hookable.php
public function count($hookName)
    {
        $hookName = $this->sanitize($hookName);
        if (!$hookName || !isset($this->filters[$hookName])) {
            return false;
        }
        return count((array) $this->filters[$hookName]);
    }
public function count($hookName)
    {
        $hookName = $this->sanitize($hookName);
        if (!$hookName || !isset($this->filters[$hookName])) {
            return false;
        }
        return count((array) $this->filters[$hookName]);
    }
Count all existences Hook

@param string $hookName Hook name

@return integer          Hooks Count