@php $premCount = count($data['trending-premium']); $forLoopP = ceil($premCount/4); for($i=1; $i <= $forLoopP; ++$i){ @endphp