public function fetchMessagesCount() { return new JSONResponse(array("count" => $this->smsMapper->getMessageCount($this->userId))); }