unreadCount value is one for every group when I got CometChat.getUnreadMessageCountForGroup(group.guid). Could it be message.category===‘action’?
Unfortunately, unreadCount for specific category of messages is not available at this moment.
But it seems like it counts them. Because for all chats I got equal count, no matter are there any messages or not