public function getRowCount(array $params = []) { $data = $this->getData($params); return count($data); }