You are right. In this case the reagents were given in concentration (M) which is not the same as mol. Actually it is only by mol when counting stoichiometry. The problem was a little bit simplified...