Did M2 , M5 , and M6 write M3 and M4 and executive produce a film whose sequel starred M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.sequel ?x1 .
?x1 ns:film.film.starring/ns:film.performance.actor M1 .
M2 ns:film.producer.films_executive_produced ?x0 .
M2 ns:film.writer.film M3 .
M2 ns:film.writer.film M4 .
M5 ns:film.producer.films_executive_produced ?x0 .
M5 ns:film.writer.film M3 .
M5 ns:film.writer.film M4 .
M6 ns:film.producer.films_executive_produced ?x0 .
M6 ns:film.writer.film M3 .
M6 ns:film.writer.film M4
}