Did a American star of M3 's prequel edit M0 and write M1
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film ?x1 .
?x0 ns:film.editor.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.09c7w0 .
?x1 ns:film.film.sequel M3
}