Which of the following depend upon the amount of matter in an object?

Only its mass

Only its weight

Both its mass and its weight

Neither its mass nor its weight