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