Count_attribute_values_scan