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