Fix iteration count parsing.