number of unread messages implemented