Same problem for me. I have two conversations, the last message in one of which has been read by me. The last message in the other is outward to jamesm. The ‘flag’ shows that I have two unread messages which is clearly not right. I have had no reply from jamesm, but have no means of being certain whether the message has been read or not.
It seems the counter is simply displaying the number of conversations.