No, for the scenario you quoted, if you take exams, write papers and handup your work, duration of degree is 3-4 years, it is not degree mill.
Generally, if you pay $$$ to get the degree without taking exams, write papers and attend lectures, then it is degree mill.
If you obtain the degree...