MenuItemBadge Object
typestring (optional) - Can bealerts,updates,new-itemsornone. Default isnone. See Creating badges of a specific type for further explanation of these types.countnumber (optional) - The number of items the badge displays. Required for thealerts,updatesandnew-itemstypes; cannot be used withnone.contentstring (optional) - A custom string to display in the badge. Required for, and only usable with, thenonetype.
If you use one of the predefined badge types (not none), the system localizes and pluralizes the badge
for you. If you create your own custom badge string, you need to localize and pluralize that string yourself.