Was M1 's sequel produced by M2 's writer and director and executive produced by M0
SELECT count(*) WHERE {
?x0 ns:film.film.executive_produced_by M0 .
?x0 ns:film.film.prequel M1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x1 ns:film.director.film M2 .
?x1 ns:film.writer.film M2
}