In #63289 we added support for histogram fields to rate aggregations. The histogram fields contains both sum of the values and value count. In #63289 we only added support for sum, we should also add support for value count. This support can be extended for numeric fields as well.