Did M1 's writer , editor , costume designer , and executive producer write M2 and edit M0
SELECT count(*) WHERE {
?x0 ns:film.editor.film M0 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.film_costumer_designer.costume_design_for_film M1 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2
}