blogs.shephertz.com/2014/05/19/increment-push-notification-badge/
Automatic Badge Count in Push Notification requires logic to be written on the client as well as the server side to maintain the count and opened mails.
It looks like you're new here. If you want to get involved, click one of these buttons!