Code for making the palyer update the badge count.

refs #31129