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