count in blade laravel 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: {{count laravel
{{ count($threads) }}