counts unread dialogs correctly :)