$item) { $counter = $item->counter(); if (! empty($counter) && is_numeric($counter)) { $hasCounters = true; break; } } ?>