@if (is_countable($portfolio_count_categories) && count($portfolio_count_categories) > 0)
{{ __('frontend.all') }}
@foreach ($portfolio_count_categories as $portfolio_count_category)
@if (isset($portfolio_count_category->portfolio_category->portfolio_category_slug))
{{$portfolio_count_category->portfolio_category->category_name }} ({{ $portfolio_count_category->category_count }})
@endif
@endforeach
@unset ($portfolio_count_category)
@else
@if (Auth::user() || $draft_view == null || $draft_view->status == 'enable')
@endif
@endif