Laravel count data code example
Example 1: get count laravel
$count = Model::where('status','=','1')->count();
Example 2: count in laravel'
$count = ModelName::where('id',$id)->count();
Example 3: {{count laravel
{{ $threads->count() }}
Example 4: laravel select count
$count = DB::table('category_issue')->count();
Example 5: check count in laravel
$wordlist = Wordlist::where('id', '<=', $correctedComparisons)->get();
$wordCount = $wordlist->count();