Did a film 's editor , costume designer , star , director , and writer direct M1 and M2 and write M0
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film ?x1 .
?x0 ns:film.director.film ?x1 .
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:film.editor.film ?x1 .
?x0 ns:film.film_costumer_designer.costume_design_for_film ?x1 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:film.writer.film M0 .
?x1 a ns:film.film
}