What are the different class codes?
select distinct class_code from class
How many of them are there?
select count(distinct class_code) from class