Convert Attributes to Measures, using count