tiledb_array_apply_aggregate function

Run an aggregate query on the given (sparse) array and attribute