The reaction can be represented as
2KMnO4+KI+H2O−→ KIO3+2MnO2+2KOH
The oxidation number of iodine increases from −1 ( in KI) to +5 (in KIO3).
The total increase in oxidation number of I is 6.
The oxidation number of Mn decreases from +7 (in KMnO4) to +4 (in MnO2).
The decrease in the oxidation number of one Mn is 3.
For 2 Mn atoms, the decrease in oxidation number is 6.
2 Mn atoms balance the charge of 1 Iodine atom.
Thus 2 moles of KMnO4 is reduced during the reaction.
Answer =2 moles.