Added support for limiting number of words and grouping in "others"
Started amending, unstable