There are 3.6x10^23 molecules of HCl that will react.
1st) From the equation we know that 1 mole of Magnesium (Mg) reacts with 2 moles of Hydrochloric acid (HCl), so with a mathematical Rule of Three we can calculate themoles of HCl that will react with 0.30 moles of Mg.

So, 0.60 moles of HCl will react with 0.30 moles of Mg.
2nd) Now we have to calculate the amount of molecules in 0.30 moles of HCl. Here it is necessary to use the Avogadro's number (6.022x10^23 particles):

Finally, there are 3.6x10^23 molecules of HCl that will react.