Was M0 's sequel directed by , written by , and edited by M1 's producer and cinematographer
SELECT count(*) WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.prequel M0 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.cinematographer.film M1 .
?x1 ns:film.producer.film|ns:film.production_company.films M1
}