There are three ways to measure the amount of something in chemistry.
1. There is a simple count which is tabulating the amount of something present.
2. You can measure the mass which is the amount of matter in something.
3. You can measure the volume which is the amount of three dimensional space occupied by a closed surface.