public function getTotalRecordCount() { if (!$this->list) { $this->getListing(); } return $this->elementsTotal; }