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