Was a film 's sequel produced by M1 , executive produced by a film editor , and written by M0
SELECT count(*) WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.prequel ?x2 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
?x0 ns:film.film.written_by M0 .
?x1 a ns:film.editor .
?x2 a ns:film.film
}