Fix iterations metric in enqueueChangesetsToClose
Created by: eseliger
Was always 0 before, because the log.Int was evaluated at the start of the function.
Created by: eseliger
Was always 0 before, because the log.Int was evaluated at the start of the function.