public static function getExecuteCount(string $hook)
    {
        return isset(self::$counters[$hook]) ? self::$counters[$hook] : 0;
    }
public static function getExecuteCount(string $hook)
    {
        return isset(self::$counters[$hook]) ? self::$counters[$hook] : 0;
    }
public static function getExecuteCount ( string $ hook ) { return isset ( self :: $ counters [ $ hook ] ) ? self :: $ counters [ $ hook ] : 0 ; }
Return the amount of times the hook has been executed
@param string $hook The hook name
@return int The hook execution counter for this hook
Return the amount of times the hook has been executed