how to get count of all elequent model code example
Example 1: get count laravel
$count = Model::where('status','=','1')->count();
Example 2: {{count laravel
{{ $threads->count() }}
$count = Model::where('status','=','1')->count();
{{ $threads->count() }}