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