Were M1 , M3 , and M4 edited by M2 and executive produced by M0 's prequel 's writer and executive producer
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 ns:film.film.sequel M0 .
M1 ns:film.film.edited_by M2 .
M1 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.edited_by M2 .
M3 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.edited_by M2 .
M4 ns:film.film.executive_produced_by ?x0
}