row count from eloquent query result laravel code example Example: get count laravel $count = Model::where('status','=','1')->count();