Mac mail flag count wrong after Ventura upgrade
After upgrading to Ventura, my Mac Mail flag count is wrong (by a lot!) This is on an M1 24" iMac. I am running Ventura 13.1. Note that this also happened with previous versions of Ventura. Please do not suggest rebuilding my mailbox, because that function doesn't work either, for some reason. See photo below. I actually have zero orange flagged messages, and no more than 20 total in all colors.
iMac 24″, macOS 13.1