Measuring Variety and Quality of Products with Trademarks