Did a screenwriter executive produce M2 , executive produce M3 , and edit M1
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.editor.film M1 .
?x0 ns:film.producer.films_executive_produced M2 .
?x0 ns:film.producer.films_executive_produced M3
}