Add a per-room counter for unread messages in responses to `/sync` requests.