Answer:
When you are measuring the volume of something, you are measuring how much space it takes up.
And if you know how much space a particle of that something takes up, you can divide the total volume by the space of each particle and that will give you the number, as if you were counting.