The unread message count or team chat count never resets
This is likely because the messages weren't viewed before being hidden with “Hide messages and logs before date” feature. So just turn that off from “Profile” then click in to the message feeds to “view” them. Then turn that feature back on.