N98\Magento\Command\System\InfoCommand::categoryCount PHP Method

categoryCount() protected method

protected categoryCount ( )
    protected function categoryCount()
    {
        $this->infos['Category Count'] = \Mage::getModel('catalog/category')->getCollection()->getSize();
    }