public function getSize() { if ($this->_totalRecords === null) { $this->loadProductCounts(); } return $this->_totalRecords; }