Add iteration count return.