Was M3 written by M2 's American female director
SELECT count(*) WHERE {
?x0 ns:film.director.film M2 .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.09c7w0 .
M3 ns:film.film.written_by ?x0
}