Count iterations and summarise results.