Were M2 and M4 directed by M3 and written by a film editor that M1 was executive produced by
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:film.producer.films_executive_produced M1 .
M2 ns:film.film.directed_by M3 .
M2 ns:film.film.written_by ?x0 .
M4 ns:film.film.directed_by M3 .
M4 ns:film.film.written_by ?x0
}