Icon Badge Count on custom app icon

i want to show on this icon our custom app count notification and today events number.
Screenshot from 2022-08-05 09-25-50

@Divakar_Jadoun1 In the navbar, like the notifications icon? If yes, then you can achieve what you want using the following JavaScript code.

$('header.navbar > .container > .navbar-collapse > ul').prepend(`
    <li class="nav-item dropdown dropdown-notifications dropdown-mobile" title="Icon Title">
        ${frappe.utils.icon('small-icon', 'md')}
        <span class="badge" id="icon-count"></span>

(The code is taken from somewhere I can’t remember)

Then you can update the badge like this: