Nobody knows, and the honest answer is that any specific figure would be invented.
There is no central registry. Games arrive from studios, solo developers, students and hobbyists, across cartridges, discs, downloads and browser pages. A title released on one platform in one region may or may not be counted twice elsewhere. Older catalogue entries vanish from storefronts without a record, and mobile stores add thousands of listings every week.
Reasonable estimates run into the hundreds of thousands when you count distinct releases across all platforms and eras — and plausibly far more once asset flips and minor regional variants are included.
Not really. What matters to a player is not the total but whether something good exists in the genre you like, which it almost certainly does. If someone ever does produce a genuine, methodologically sound count, they will have earned considerable admiration.