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