print number of iterations