My numbers might be off but it seems like in gen 8, 684 learn Protect while 582 learn Toxic. But that's only considering those who can learn it in gen 8 specifically, so you can trade additional Pokemon who learn it in a previous gen (e.g., Ampharos). Since the question is "moves Pokemon get," I'm assuming that these additional Pokemon still count because there's nothing stopping you from legitimately owning an Ampharos with toxic in gen 8.