Did M1 produce M3 , edit a sequel of M0 , and edit M2
SELECT count(*) WHERE {
?x0 ns:film.film.prequel M0 .
M1 ns:film.editor.film ?x0 .
M1 ns:film.editor.film M2 .
M1 ns:film.producer.film|ns:film.production_company.films M3
}