Creating Categorical Frequency Distributions