How I can calculate the number of ionic liquid molecules and the number of water molecules from a concentration of say 2M to do molecular dynamics simulation? I am thinking that my box size is 6 nm. so, total volume is 216 nm^3. From the definition of molarity I can calculate the total number of molecules which can enter into the box to maintain a concentration of say 2M. But how I will calculate the number of ionic liquid molecules and the number of water molecules separately?