The chromatic polynomial $P(G,k)$ counts all vertex colorings with $k$ or fewer colors.
But is there a polynomial that can count vertex colorings with exactly $k$ colors?
If you simply take the difference $P(G,k) - P(G,k-1)$, the degeneracy of color-set choices is not taken into account. For example, with $k$=4 colors, the many ways of selecting a set of 3 colors (from 4 possible) each constitute a distinct color palette, but are only deducted once using the above technique.
Perhaps you just take this into account in a straightforward way?