Query\QueryBuilderInterface::selectAvg

Selects the average value of a field from a query