I am sorry if this was posted by others last time as I am just a few days ago old to this thing.
I have a question about the relationship... That is;
MATCH (town)-[:LOCATED_IN]-(blocks { food_establishment: true })
WITH town, count(*) as num_food_establishment, collect(blocks.id) as list_food_establishment
RETURN town.id, num_food_establishment
Since the above example is meant for the attributes only, I was wondering if there is a relationship equivalent of doing it.
My idea was to store the number of relationships per label as a property of the same label.