Normally, the OneSignal SDK automatically sets the notification badge count on your app to the number of notifications that are currently active. Is the notification badge turned on?
Android: https://prnt.sc/whevpe
Moreover, try increasing the badge count with these steps, please: https://documentation.onesignal.com/docs/badges#ios-badges If you use the OneSignal API (instead of the OneSignal.com backend), you might have to attach the badge count manually, too.
If you are still having issues with the badge count not increasing on iOS, please refer to this guide.