Was a film edited by M2 , executive produced by M1 , and written by M3 's executive producer
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.edited_by M2 .
?x0 ns:film.film.executive_produced_by M1 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.producer.films_executive_produced M3
}