Refactored creation of hashtag count collection for cleaner data structure