arangosh> var examples = require("@arangodb/graph-examples/example-graph.js"); arangosh> var graph = examples.loadGraph("routeplanner"); arangosh> var options = { direction: 'outbound', maxDepth: 2, includeData: true }; arangosh> graph._countCommonNeighbors('germanCity/Hamburg', {}, options, options); [ { "[object Object]" : [ { "[object Object]" : 2 }, { "[object Object]" : 3 }, { "[object Object]" : 1 } ] } ]