tiledb_query_apply_aggregate function

Run an aggregate oprtation on the given query attribute