Value count aggregation
/ Value_count, / AggregationValue count aggregation #
A single-value metrics aggregation that counts the number of values that are
extracted from the aggregated documents. Typically, this aggregator will be used
in conjunction with other single-value aggregations. For example, when computing
the avg one might be interested in the number of values the average is
computed over.
value_count does not de-duplicate values, so even if a field has duplicates
each value will be counted individually.