Neo4j – Verzeichnisse mit verwaisten ACEs

MATCH (n:ADAccount)<-[:rel_ace]-(ace)-[:rel_right0]->(v) where n.type="person" and length(n.objectGUID) =0 RETURN count(distinct v)