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