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