fixes count of graded