Output number of iterations