Added AVRG counting to graphs