system/src/Grav/Common/GPM/GPM.php
/**
     * Returns the amount of locally installed packages
     * @return integer Amount of installed packages
     */
Returns the amount of locally installed packages
@return integer Amount of installed packages
Returns the amount of locally installed packages @return integer Amount of installed packages
public function countInstalled()
    {
        $installed = $this->getInstalled();
        return count($installed['plugins']) + count($installed['themes']);
    }
public function countInstalled ( ) { $ installed = $ this -> getInstalled ( ) ; return count ( $ installed [ 'plugins' ] ) + count ( $ installed [ 'themes' ] ) ; }
Returns the amount of locally installed packages
 @return integer Amount of installed packages
Returns the amount of locally installed packages @return integer Amount of installed packages