how do you find moles?

It depends upon what you have.

mols = grams/molar mass if you have a mass of something.
mols = M x L if you have a solution of known molarity along with its volume.