Measuring the Class Structure