WIP: correctly update the cached unread entries count, every time something happens that changes the count.