@foreach ($categories as $category)

{{ $category->name }}

@if ($category->products_count === 1) {{ __('1 product') }} @else {{ __(':count products', ['count' => number_format($category->products_count)]) }} @endif

@endforeach