Was M0 's executive producer , producer , and writer M1 's sequel 's producer and writer
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:film.writer.film M0 .
?x1 ns:film.film.prequel M1
}