Mass is the measure of what?

A. How much something weighs
B. The amount of matter in an object
C. How heavy something is
D. Gravity's effects on an object