automated barplot

+automated ggplot barplot, also adds the number of observations in each
group to type description.