Did M2 executive produce a film that was produced by and was directed by a film editor and write M3
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x1 a ns:film.editor .
M2 ns:film.producer.films_executive_produced ?x0 .
M2 ns:film.writer.film M3
}