Avagadros number states that 1 mol of any substance is made of 6.022 x 10^23 units
These units could be atoms making up elements or molecules making up compounds
Therefore 1 mol of CoCl2 is Made of 6.022 x 10^23 molecules of CoCl2
Molar mass of CoCl2 is 130 g/mol
Therefore 1 mol of CoCl2 weighs 130 g
So 130 g of CoCl2 contains 6.022 x 10^23 Molecules of CoCl2
Then 240 g of CoCl2 contains - 6.022 x 10^23 / 130 g x 240 g = 1.11 x 10^24 molecules of CoCl2
Answer is 1.11 x 10^24 molecules of CoCl2