Lightroom caches the folder counts in the file "<catalog> Helper.lrdata", and LR can sometimes corrupt the file. Try deleting it:
1. Do Catalog Settings > General > Show, to open Finder / File Explorer on your catalog folder.
2. Exit LR.
3. Delete "<catalog> Helper.lrdata".
4. Restart LR -- it will rebuild the file.