Hello,

In my graph, relationships have a property named `list`

. `list`

is an array of int.

It looks like this:

`(head:Node)-[r:RELATIONSHIP {list:...}]->(tail:Node)`

I'd like to query all tails in the graph, where the sum of `list`

is > 0.

Intuitively, I would do:

```
MATCH (:Node)-[r:RELATIONSHIP]->(tail:Node)
WHERE sum(r.list) > 0
RETURN tail
```

This does not work unfortunately. It throws an error. How can I write this query?

Thanks