What was the three-fifths compromise?

A. A slave would count as three-fifths of a person when paying taxes.
B. Three-fifths of the states needed to approve the Constitution.
C. Three-fifths of the national population would own slaves.
D. A slave would count as three-fifths of a person when counting population for representation.