Did a film producer that played M1 executive produce , edit , direct , and write a prequel of M2
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.actor.film/ns:film.performance.character M1 .
?x0 ns:film.director.film ?x1 .
?x0 ns:film.editor.film ?x1 .
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 ns:film.film.sequel M2
}