set unread message count in notifications.

was not able to squash commit requesting new pull