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