I’m having the same issue. Mac Ventura 13.1. Obsidian 1.1.15. Ios devices showing the correct number of files (30,000) and Finder Get Info shows the same number. However Obsidian is showing 11,620.
Sync is done by Obsidian Sync and icloud and Dropbox are not involved. Icloud setting for Optimize Storage is off.