Changed counter to show the correct number of blocks per iteration