Adds counter to the graph output