How many different variables are in the expression 5g to the 2nd power - 2h + 9?

There are two different variables in the expression 5g to the 2nd power - 2h + 9.