Dimension of the Space of Polynomials of Degree at Most $d$