In order to calculate how many moles of a compound there are in a certain quantity of molecules, we need to first write Avogadro's number, which is 1 mol = 6.02*10^23 molecules, with that information we will proceed in our calculations:
1 mol = 6.02*10^23 molecules
x moles = 1.23*10^18 molecules
x = 2.04*10^-6 molecules of water