Did a executive producer , editor , star , and director of M1 direct M2 and write M0
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:film.editor.film M1 .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.writer.film M0
}