public function getNewEnquiriesCount() { $model = new Enquiry($this->pixie); return $model->where('status', 'new')->count_all(); }