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