[FIX] fixed notification counter

Fixed notification counter for unread messages.