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