Google Interview Question

How do you aggregate a function