Add aggregate operations that support grouping by a keypath
Update fetching document