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