Was a film that M2 edited and M3 's writer , art director , and executive producer wrote distributed by M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M1 .
?x0 ns:film.film.edited_by M2 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.film_art_director.films_art_directed M3 .
?x1 ns:film.producer.films_executive_produced M3 .
?x1 ns:film.writer.film M3
}