Was M2 's sequel 's writer , cinematographer , and producer M0 's female star
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.cinematographer.film ?x1 .
?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.gender ns:m.02zsn .
?x1 ns:film.film.prequel M2
}