Question: how do you know how many atoms are in an element?
Answer: If you have a sample that contains only atoms of a particular element, weigh the sample in grams and divide by the atomic weight of the element. The quotient tells you the number of moles. Multiply that by Avogadro's number, and you'll find out how many atoms the sample contains.