In a polynomial like 5x^5 + 4x^2 + 2, is 2 counted as a term?

No it isn't