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