Third parties are mostly multiplat nowadays, we can't really espect them to release as many exclusives as way back in time. The only way to have a door comparison is comparing first parties and second parties
The last Nintendo console with as many good first and second party games as Switch was SNES
Unless maybe you are thinking on Game Cube, I never had one, so I have no opinion about it. But Switch stomps N64, Wii and Wii U very easily
I would actually put Wii and N64 well ahead of Switch-to-date in term of high quality 1st and 2nd party games.
I mean, if I were to list the great-or-close-to-great ones I'd go:
Wii: Mario Galaxy 1 & 2, Twilight Princess, Skyward Sword, Metroid Prime 3, Xenoblade, DKCR, Mario Kart Wii, Sin & Punishment 2, The Last Story. (10)
N64: Mario 64, Banjo Kazooie + Tooie, F Zero X, Ocarina of Time, Starfox 64. (6)
Switch: BOTW, Mario Odyssey, Splatoon 2, Xenoblade 2. (4)
Bet with Liquidlaser: I say PS5 and Xbox Series will sell more than 56 million combined by the end of 2023.