This may help.
https://sciencing.com/convert-micrograms-micromoles-8768368.html
You'll just have to work backwards.
Note that to get the molecular mass you will need to add the mass of all atoms in the compound. So, for NO3, you'd add N and O three times essentially.
Why are you measuring these in Moles? Don't think there is any test equipment that will even do that for you--it is a mathematics exercise if you want to actually know the number of specific molecules in something.