update statements counters for 1-based indexing