Is the cost spread out amongst the towns based on population or is the cost assessed against the town in which the troops were raised?

Thanks