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