Were M1 , M3 , and M4 produced by a editor of M0 's prequel and executive produced by M2
SELECT count(*) WHERE {
?x0 ns:film.editor.film ?x1 .
?x1 ns:film.film.sequel M0 .
M1 ns:film.film.executive_produced_by M2 .
M1 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.executive_produced_by M2 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.executive_produced_by M2 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}