How many different variables are in the expression?

5g2 - sh + 9

There are three different variables in the expression: g, s, and h.