Was M3 a sequel of a film whose star edited and produced M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x1 ns:film.editor.film M1 .
?x1 ns:film.editor.film M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
M3 ns:film.film.prequel ?x0
}