Is the largest number of molecules in 36 g of water or 54 g of dinitrogen pentaoxide? Recently my teacher asked us which of the following has the largest number of molecules? He gave us two options:


$\pu{36 g}$ of $\ce{H2O}$  
$\pu{54 g}$ of $\ce{N2O5}$


I'm stuck, because both of them are having two moles of each of the respective molecules. And technically, the number of molecules equals the amount of substance multiplied by Avogadro's number. 

So shouldn't $\pu{2 mol} \times N_\mathrm{A} = N(\text{molecules})$ be the same number of molecules for both of them?

But yet, the teacher said that water is the correct answer.

And I'm still not able to figure out why?
I'm stuck, because both of them are having two moles of each of the respective molecules.


Are you sure?

\begin{align}
M(\ce{H2O})  &amp;= \pu{18 g mol^-1} &amp;
\implies \pu{36 g} &amp;\mathop{\hat{=}} \pu{2 mol} \\
M(\ce{N2O5}) &amp;= \pu{108 g mol^-1} &amp;
\implies \pu{54 g} &amp;\mathop{\hat{=}} \pu{0.5 mol} \\
\end{align}