laravel where query and count in select code example Example: laravel select count $count = DB::table('category_issue')->count();