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