How did they measure the mass of the astroid b…

How did they measure the mass of the astroid belt?

Contrary to popular imagery, the asteroid belt is mostly empty.The total mass of the asteroid belt is estimated from an analysis of the movements of the planets (perturbations), using the database of asteroids and observations of planets and spacecraft. Here is a link that talks more about it.