Loop over a tag by i+1

For how to increment a variable (add 1) see here: