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