Added code to support calculating top emoji and top hashtag