@if(count($topcompanies_profile) > 6)
Recent RECRUITERS visit the page 6+
@else
Recent RECRUITERS visit the page: {{count($topcompanies_profile)}}
@endif
@php $profile_count = 0; @endphp
@forelse($topcompanies_profile as $company_profile)
@php $profile_count++; @endphp
@if($profile_count == 6)
@break
@endif
@empty
@endforelse
@forelse($topcompanies_profile as $company_profile)
@empty
@endforelse