Which of the statements below is an accurate way to describe volume?

A: The number of unit cubes it takes to fill up a solid.

B: The space occupied by a flat shape or the surface of an object.

C: The distance around a two-dimensional shape.

D: The total area of the surface of a three-dimensional object.