Example of common aggregation function in Aerospike