add counter helper (index + 1)