Did M1 direct M2 and M3 and edit a film 's sequel and prequel
SELECT count(*) WHERE {
?x0 ns:film.film.prequel ?x1 .
?x0 ns:film.film.sequel ?x1 .
?x1 a ns:film.film .
M1 ns:film.director.film M2 .
M1 ns:film.director.film M3 .
M1 ns:film.editor.film ?x0
}