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