Which of the following factors does inertia of a body depend on?