public function getNumber() { $total = $this->model->count(); $new = $this->model->whereSeen(0)->count(); return compact('total', 'new'); }