You are right.
Hint: "Dozen" represents the quantity of 12.
In 12 water molecules, there are 24 hydrogen atoms and 12 oxygen atoms.
In other words, in 1 dozen of water molecules, there are 2 dozens of hydrogen atoms and 1 dozen of oxygen atoms.