So for instance, suppose 3 push notification are sent to an app. The push notifications would not include a badge count, because we want the badge count to be managed on the client.
When one notification comes in, the badge on the app is set to 1. When two more come in, the badge is increased to three.
Then, when a user swipes away a notification, the badge count is decremented back to 2. Thus, the badge itself doesn't show any number calculated by the server pushing the notification, but rather, the number of non-dismissed notifications on the client.
Is that possible in iOS?