how to use count() in database in laravel to count records code example Example: get count laravel $count = Model::where('status','=','1')->count();