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