count by iteration.