use count laravel 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() }}