This function of the stats command allows you to identify the number of values a field has.
max
distinct_count
fields
count
Submit