Did M1 write M2 , executive produce M3 , direct M4 and M5 , and edit M0 's prequel
SELECT count(*) WHERE {
?x0 ns:film.film.sequel M0 .
M1 ns:film.director.film M4 .
M1 ns:film.director.film M5 .
M1 ns:film.editor.film ?x0 .
M1 ns:film.producer.films_executive_produced M3 .
M1 ns:film.writer.film M2
}