Using the UnreadMessageCount method, you can retrieve the total number of a user's unread messages in a group channel.
UnreadMessageCount
int unreadMessageCount = groupChannel.UnreadMessageCount;