Was M0 's sequel edited and executive produced by a screenwriter
SELECT count(*) WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.prequel M0 .
?x1 a ns:film.writer
}