neo4j get count group by match (b:Node1)-[]-(c:Node2) return count(b.Property),b.Property Output : Related