You can collect the actors that acted in a movie directed by Lana.
Then for each actor, get the movies and collect the directors.
Check that the set of directors does not have lana in it.
Then collect the titles of these movies and sort by most number of movies.
So all actors who were directed by Lana and has other movies not directed by Lana are Tom Hanks (Cloud Atlas), Keanu (Matrix), Ben Miles (Speed Racer), Hugo (Cloud Atlas and Matrix) and Rain (Speed Racer)
WITH [(a:Person)-[:ACTED_IN]->(:Movie)<-[:DIRECTED]-(:Person {name: 'Lana Wachowski'})|a] as actors
UNWIND actors as actor
MATCH (actor)-[:ACTED_IN]->(m:Movie)<-[:DIRECTED]-(p:Person)
WITH actor, m, collect(p) as directors WHERE NOT ANY (d in directors WHERE d.name = 'Lana Wachowski')
RETURN actor.name , collect(m.title), COUNT(m)
ORDER BY COUNT(m) desc
LIMIT 10
REsult:
╒══════════════╤══════════════════════════════════════════════════════════════════════╤══════════╕
│"actor.name" │"collect(m.title)" │"COUNT(m)"│
╞══════════════╪══════════════════════════════════════════════════════════════════════╪══════════╡
│"Tom Hanks" │["Apollo 13","You've Got Mail","A League of Their Own","Joe Versus the│11 │
│ │ Volcano","That Thing You Do","The Da Vinci Code","Cast Away","The Gre│ │
│ │en Mile","Sleepless in Seattle","The Polar Express","Charlie Wilson's │ │
│ │War"] │ │
├──────────────┼──────────────────────────────────────────────────────────────────────┼──────────┤
│"Keanu Reeves"│["Something's Gotta Give","The Replacements","Johnny Mnemonic","The De│4 │
│ │vil's Advocate"] │ │
├──────────────┼──────────────────────────────────────────────────────────────────────┼──────────┤
│"Ben Miles" │["Ninja Assassin","V for Vendetta"] │2 │
├──────────────┼──────────────────────────────────────────────────────────────────────┼──────────┤
│"Hugo Weaving"│["V for Vendetta"] │1 │
├──────────────┼──────────────────────────────────────────────────────────────────────┼──────────┤
│"Rain" │["Ninja Assassin"] │1 │
└──────────────┴──────────────────────────────────────────────────────────────────────┴──────────┘