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