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