The Three-Fifths Compromise determined how population would be counted for?

The Three-Fifths Compromise determined how population would be counted for....?

Representation in Congress and also direct taxes on the population of the states.