summary stats for categorical variable