Function size()
calculates the length of the array, namely, the number of elements in the array.
Arguments:
- Array <array>
Returns:
- Length <number>
Common Usage
Example: Count the number of the neighbors of Card CA001
khop().src({_id == "CA001"}).depth(1) as n1
return size(collect(n1))