Were M2 , M3 , and M4 written by a film editor and directed by M1 's producer , executive producer , and director
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x1 ns:film.director.film M1 .
?x1 ns:film.producer.films_executive_produced M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.written_by ?x0 .
M3 ns:film.film.directed_by ?x1 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.directed_by ?x1 .
M4 ns:film.film.written_by ?x0
}