An accounting of colorings of graphs