In addition to standard web APIs, we provide an additional set of APIs:
window.webcatalog.setBadgeCount(count: integer): Set badge count.
count Integer (optional) - If a value is provided, set the badge to the provided value otherwise, default to 0.
Sets the counter badge for current account/service. Setting the count to 0 will hide the badge.
// set badge count for current account/service to 10 window.webcatalog.setBadgeCount(10)