How many different variables are in the expression 5g2−2h+9

There are three different variables in the expression 5g2−2h+9. The variables are g, h, and the exponent 2.