The Gabrielov–Khovanskii Problem for Polynomials