For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.
select grade, count(distinct classroom), count(*) from list group by grade