compute total iterationsfor each model