laravel model return count of rows where code example Example: get count laravel $count = Model::where('status','=','1')->count();