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