Step - cap
cap · category: Aggregation
Emits the value of the named side effect(s) (one map for several keys) after the stream is exhausted.
Forms
cap()
cap(arg1: any)
cap(arg1: array)
cap(arg1: any, arg2: any)
cap(arg1, …, arg10)
Example
g.v().group_count("c").by(T.label).cap("c").next() // #{"person": 4, "software": 2}