Was M0 's prequel executive produced by a film 's writer , executive producer , producer , cinematographer , and art director
SELECT count(*) WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.sequel M0 .
?x1 ns:film.cinematographer.film ?x2 .
?x1 ns:film.film_art_director.films_art_directed ?x2 .
?x1 ns:film.producer.films_executive_produced ?x2 .
?x1 ns:film.producer.film|ns:film.production_company.films ?x2 .
?x1 ns:film.writer.film ?x2 .
?x2 a ns:film.film
}