added degree counter