How to build a Neo4J query that:
1) Will return all nodes where any pair of nodes are connected by a certain number of different relations? For example, nodes connected by 2, 3 or 5 different relations? So instead of a query returning connected nodes with unknown number of relations:
MATCH (n)-[r]->(m) RETURN n, r, m;
How, in general case, will look query for sub-graph where any pair of nodes are connected by n > K, n = L or n < M relations?