ERT-418 iter count logic