added buckets for counting individual types