CountingRestrictedPolynomials.pdf