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