public function count() { if ($this->_mysqli->connect_errno) { return false; } return $this->_mysqli->affected_rows; }