A new measure of social classes