Was M1 directed , executive produced , and edited by a film 's sequel 's director , writer , and cinematographer
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film ?x1 .
?x0 ns:film.director.film ?x1 .
?x0 ns:film.writer.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
}