public function countUpdates()
    {
        $count = 0;

        $count += count($this->getUpdatablePlugins());
        $count += count($this->getUpdatableThemes());

        return $count;
    }
public function countUpdates()
    {
        $count = 0;

        $count += count($this->getUpdatablePlugins());
        $count += count($this->getUpdatableThemes());

        return $count;
    }
public function countUpdates ( ) { $ count = 0 ; $ count += count ( $ this -> getUpdatablePlugins ( ) ) ; $ count += count ( $ this -> getUpdatableThemes ( ) ) ; return $ count ; }
Returns the amount of updates available
@return int Amount of available updates
Returns the amount of updates available