arangosh> var examples = require("@arangodb/graph-examples/example-graph.js");
arangosh> var graph = examples.loadGraph("routeplanner");
arangosh> graph._countCommonProperties({}, {}, {vertex1CollectionRestriction : 'germanCity',
........> vertex2CollectionRestriction : 'germanCity' ,ignoreProperties: 'population'});
[
{
"frenchCity/Lyon" : 2
},
{
"frenchCity/Paris" : 1
},
{
"germanCity/Berlin" : 1
},
{
"germanCity/Cologne" : 2
},
{
"germanCity/Hamburg" : 2
}
]