Question: how many pokemon do you need to get the shiny charm in ultra moon?
Answer: Getting the Shiny Charm requires that you complete the Alola Pokédex, which is around 400 Pokémon (not the full 800).