Text this: On a class of polynomials associated with the Cliques in a graph and its applications