I have used following query for identifying duplicities
MATCH (p:Case)
WITH p.name as name, collect(p) AS nodes
WHERE size(nodes) > 1
WITH nodes ORDER BY size(nodes) DESC
LIMIT 1
UNWIND nodes AS n
RETURN n.name, id(n) AS internalId, size((n)--()) AS rels
ORDER BY rels DESC
Query run correctly in the past, but now is not possible to use size((n)--()) ...rest of the query is fine.
Could somebody advice me why and how to use it correctly now ?
Kind Regards
Vaclav