Were M1 and M2 directed by , executive produced by , edited by , and produced by a film 's sequel 's director
SELECT count(*) WHERE {
?x0 ns:film.director.film ?x1 .
?x1 ns:film.film.prequel ?x2 .
?x2 a ns:film.film .
M1 ns:film.film.directed_by ?x0 .
M1 ns:film.film.edited_by ?x0 .
M1 ns:film.film.executive_produced_by ?x0 .
M1 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.edited_by ?x0 .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}