Was M1 a film editor that wrote a film 's prequel and executive produced a film
SELECT count(*) WHERE {
?x0 ns:film.film.sequel ?x1 .
?x1 a ns:film.film .
?x2 a ns:film.film .
M1 a ns:film.editor .
M1 ns:film.producer.films_executive_produced ?x2 .
M1 ns:film.writer.film ?x0
}