Update counter of unread elements when marking read / unread