count where in first 10 rows laravel code example Example: laravel eloquent get 10 records Model::all()->take(10)->get();