Were M2 and M3 edited by and executive produced by a film producer that a film was written by and edited by
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.editor.film ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 a ns:film.film .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.executive_produced_by ?x0
}