The chat notifications count badge on Reddit website has the same problem for me. Tells me I have messages when I don't. Or won't tell me I have messages when I do.
I always figured this was intentional because i had been deliberately trying not to use the chat feature but they were pushing it really hard in marketing and, well, they got me to click... And also to stop using the site entirely