count rows in laravel code example
Example 1: get count laravel
$count = Model::where('status','=','1')->count();
Example 2: {{count laravel
{{ count($threads) }}
$count = Model::where('status','=','1')->count();
{{ count($threads) }}