plugins/tag: if there are too many tags to display, remove some of them