adding total below the title
show how many times each category is used