To convert the mass of a compound to formula units, the conversion factor is Avogadro's number, 6.022 x10^23 formula units/ mol and its molar mass. In this case, we are given with 19.0 grams of magnesium chloride which has a mass of 95.21 g/mol. Hence the answer is 1.20 x 10^23 formula units.
100. g CCl4* (1 mol CCl4/ 153.8 g CCl4)* (6.02*10^23 CCl4 molecules/ 1 mol CCl4)= 3.91*10^23 CCl4 molecules.
(Note that the units cancel out so you get the answer)
Hope this helps~