Dimension of the Homogeneous Degree Component of a Polynomial Ring