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