Was M1 a gender of M0 's prequel 's art director and writer
SELECT count(*) WHERE {
?x0 ns:film.film_art_director.films_art_directed ?x1 .
?x0 ns:film.writer.film ?x1 .
?x1 ns:film.film.sequel M0 .
M1 ^ns:people.person.gender ?x0
}