Sum aggregation along with Unique Count aggregation

@sanju1323 - Sure

Just use the average aggregation on the metric instead of sum - assuming they have the same value the average will give you what you want.

-- Asaf.