/** * Retrieves the count * * @return int */ public function count() { return $this->messages->count(); }