New feature: loop counters