[FIX] fixed notification counter

Fixed notification wrong count based on unread messages.