public function getCount(ConfigInterface $objConfig)
    {
        $objFilter = $this->prepareFilter($objConfig);
        return $this->getMetaModel()->getCount($objFilter);
    }
public function getCount(ConfigInterface $objConfig)
    {
        $objFilter = $this->prepareFilter($objConfig);
        return $this->getMetaModel()->getCount($objFilter);
    }
Return the amount of total items (filtering may be used in the config).

@param ConfigInterface $objConfig The filter config options.

@return int