Added function to retrieve number of colors used to color the graph so far