Was a executive producer and producer of a sequel of M0 's prequel M1
SELECT count(*) WHERE {
?x0 ns:film.film.prequel ?x1 .
?x1 ns:film.film.sequel M0 .
M1 ns:film.producer.films_executive_produced ?x0 .
M1 ns:film.producer.film|ns:film.production_company.films ?x0
}