Documentation | Functions on Objects > Create a custom aggregation