source/Core/Module/Module.php
protected function _countExtensions($aModuleExtensions)
    {
        $iCount = 0;
        foreach ($aModuleExtensions as $mExtensions) {
            if (is_array($mExtensions)) {
                $iCount += count($mExtensions);
            } else {
                $iCount++;
            }
        }

        return $iCount;
    }
protected function _countExtensions($aModuleExtensions)
    {
        $iCount = 0;
        foreach ($aModuleExtensions as $mExtensions) {
            if (is_array($mExtensions)) {
                $iCount += count($mExtensions);
            } else {
                $iCount++;
            }
        }

        return $iCount;
    }
protected function _countExtensions ( $ aModuleExtensions ) { $ iCount = 0 ; foreach ( $ aModuleExtensions as $ mExtensions ) { if ( is_array ( $ mExtensions ) ) { $ iCount += count ( $ mExtensions ) ; } else { $ iCount ++ ; } } return $ iCount ; }
Counts module extensions.

@param array $aModuleExtensions Module extensions

@return int
Counts module extensions .