“Menubar icon” adds an option to display the number of notifications

Scenario: I will add my own application icon to the menu bar for quick access, such as mail and Twitter.

Pain Point: However, I cannot know if the current app has unread messages, such as the number of emails or notifications from IM tools.

Requirement: I hope to support getting the current notification count of the app when adding the menu bar icon, so that I can decide whether to display it.

Thank you.