No, mass is not the amount of matter in a given space. It is actually density.
Density is the mass divided by the volume.
This is a very unspecific question, the amount of matter in a given space depends on what's in that space, and how much of it there is (as well as how dense it is).
Volume
density