And for gases you need pressure, volume, and temperature......
So let us take an example....."how many molecules of water are in 1 mL of water?"how many molecules of water are in 1 mL of water?
We know that rho_"water"=1*g*mL^-1ρwater=1⋅g⋅mL−1
And to find the number of molecules we need the molar quantity....
"Mass"/"Molar mass"xxN_A=(rho_"water"xx"volume")/(18.01*g*mol^-1)xxN_AMassMolar mass×NA=ρwater×volume18.01⋅g⋅mol−1×NA
...where N_A-="Avocado number"=6.022xx10^23*mol^-1NA≡Avocado number=6.022×1023⋅mol−1...
And thus....
(1*g*mL^-1xx1*mL)/(18.01*g*mol^-1)xx6.022xx10^23*mol^-1=3.34xx10^221⋅g⋅mL−1×1⋅mL18.01⋅g⋅mol−1×6.022×1023⋅mol−1=3.34×1022 And note this is indeed a dimensionless number, as required....
For gases, as well, you know the Ideal Gas equations, and these can be manipulated to give the answer in moles, which represent the number of gaseous particles, of molecules.
And thus here we use "the mole"the mole as a collective number, precisely as we would use "a dozen"a dozen, or "a score"a score, or "a gross"a gross. Except here the "1 mole"=6.022xx10^23*"individual particles"1 mole=6.022×1023⋅individual particles.
You happy with this? Because this is a fundamental concept to incorporate in your understanding.