add degree counter