grade type, since we have to search for the given grade; instead, use GetGrades, which returns all grade counts in one pass (fixes grade sort speed regression; 10x speedup)