Question: how is dark matter measured?
Answer: The rate of expansion and its acceleration can be measured by observations based on the Hubble law. These measurements, together with other scientific data, have confirmed the existence of dark energy and provide an estimate of just how much of this mysterious substance exists.