Print unique count of values for custom vector