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