Cardinality and terms aggregations