Step - count

count ยท category: Aggregation

Counts the traversers (bulk included); with Scope.local counts the elements of each incoming collection.

Forms

count()
count(arg1: Scope)

Example

g.v().has_label("person").count().next()   // 4