Note that particle number is equivalent to amount of material due to the system of units (see the Units package).