I have a Neo4j database where I\'m trying to count the (distinct) nodes reachable by paths of length at most 10 through any relation. My question is quite simple, if you can