laravel query builder count records in table code example Example: get count laravel $count = Model::where('status','=','1')->count();