Added iteration count to output args