Did M2 and M4 produce M3 , edit M0 's prequel , and direct M1 's prequel
SELECT count(*) WHERE {
?x0 ns:film.film.sequel M0 .
?x1 ns:film.film.sequel M1 .
M2 ns:film.director.film ?x1 .
M2 ns:film.editor.film ?x0 .
M2 ns:film.producer.film|ns:film.production_company.films M3 .
M4 ns:film.director.film ?x1 .
M4 ns:film.editor.film ?x0 .
M4 ns:film.producer.film|ns:film.production_company.films M3
}