Photos library discrepancy after Mac OS upgrade
I use the Photos application on my computer (iMac) and not much else. The Photos library is not synced with the cloud (this is intentional due to space constraints). I made a Time Machine backup of the computer in Sierra OS. I also noted that the Photos application held 46,100 photos and a few thousand videos (you can find this information by scrolling to the very bottom of the files shown in the Photos application). For additional reference, the size of the Photos library file shown in finder was 490 GB.
Then I upgraded the OS to Catalina. There was no error message. The Photos application in Catalina loaded just fine. But the Photos application now says it contains only 45,160 photos. It seems almost a thousand picture files were lost. Why?
The application indicates that it contains the same number of videos before and after the upgrade - no discrepancy there. Interestingly, the size of the Photos library file shown in finder is now larger at 503 GB. I am trying to understand why there is a discrepancy before I start using the application again...
Should I try to repair the library? This is my first OS upgrade and first time dealing with a Photos library issue. Is there a way to see what files are missing? There is no "recently deleted" folder showing up in Photos. I can't tell which pictures were lost. Trying to figure out if I should just live with the new normal or try to recover something valuable. Thanks!
iMac 27″, macOS 10.15