Code for making the badge Count update.

refs #31129