badge count internal and external update based on total number of cached notifications at any point in time