Calculating District Category Distributions