Do you know what kind of snails they are? 20 is not so bad.
What other inhabitants are in the tank? That's probably going to determine which course of action you want to take.
You could try assassin snails (snails that eat snails) or some fish that eat snails (yoyo loaches, for example).