how many different variables are in the expression 5g2 - 2h + 9?

There are two different variables in the expression:

1. g
2. h