Entropy and the clique polynomial