loadUnreadMessagesCount without connecting to SendBird


My business would like to get the unread messages count without connecting to SendBird. I know the Firebase push notifications include unread messages count data, but I am only able to acquire that data as a result of the onMessageReceived function from the FirebaseMessagingService.

Is there a way to request for unread messages count through firebase without connecting to SendBird? My business is trying to limit the number of concurrent connections when users are not actively using messaging in our app.