trident topology, groupby, aggregate example