If my math is right, it should be around 4.33x10^23
To get this you need to find the atomic weight of MgI2, which is around 278. You divide the mass in grams by the atomic mass to find Moles, then you multiply the moles by Avogadros number: 6.022x10^23. Hope I was helpful