The Southern states wanted the slaves to count as a whole because it increased the South's representation in Congress. The Northern states didn't want them to count at all in order to decrease Southern representation. 3/5ths was the compromise.