Were M2 , M3 , and M4 produced by a star and editor of M0 's sequel and directed by M1 's editor
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film ?x1 .
?x0 ns:film.editor.film ?x1 .
?x1 ns:film.film.prequel M0 .
?x2 ns:film.editor.film M1 .
M2 ns:film.film.directed_by ?x2 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M3 ns:film.film.directed_by ?x2 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.directed_by ?x2 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}