What does molarity measure the concentration of?

A. How many isotopes of an element there are
B. The number of grams in a molar mass unit
C. The relative amounts of atoms in a molecule
D. The amount of a substance dissolved in a liquid