Measuring teacher quality in practice