count the amount laravel code example Example 1: {{count laravel {{ $threads->count() }} Example 2: {{count laravel {{ count($threads) }}