A row counter named rCnt
The initialization clause in the outer for loop header in Listing 1 declares a row counter named rCnt and initializes its value to 0.
At the end of each iteration of the body of the outer loop, the update clause increments the row counter by a value of 1 by adding 1 to the current value of the row counter.