Yeah I tried to look up the number of different Lego partszbut it gets hard to define what a Lego part is. And are we counting different colours, different designs printed on them, etc. Somewhere between 5k and 60k.
Also you have to take in account that Lego frequently stops certain parts and also that they more and more create complex parts and comparatively less "classic" bricks.
Which is an issue because it makes the sets way more difficult to reuse than 30 years ago. Go figure what to build with a random ninjago set except the official model. But that’s another ~~rant~~story.