i = count; j = 0; do { // something with j j++; } while (--i);