Allow aggregation method to be configured for account metrics