Aggregate functions support for JoinBuilder

Aggregate functions support for JoinBuilder