As you can see from the screenshot, Mail has a problem with flagging emails. All emails in here were once flagged, but now only two of them actually are. Yet these emails persist in showing. Sometimes the total count is different to either number.
I have tried the basics: quit Mail, restarted my Mac. Any thoughts?