Was M1 's sequel edited by M0 and executive produced by M2 's producer and star
SELECT count(*) WHERE {
?x0 ns:film.film.edited_by M0 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.prequel M1 .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M2
}