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