Which agreement solved the disagreement over whether slaves should be counted for the purposes of representation?

Athe Great Compromise
Bthe Treaty of Paris
Cthe Virginia Plan
Dthe Three-Fifths Compromise