Was a female Japanese writer of M1 and M2 a film director
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.03_3d
}