Add simplify
method to aggregate function
#10354
Merged
simplify
method to aggregate function
#10354