Was M2 written by a film editor , directed by M1 's editor , writer , and producer , and edited by M3
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x1 ns:film.editor.film M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 ns:film.writer.film M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.written_by ?x0
}