question: Was a Canadian screenwriter a American female producer of M3
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:film.producer.film|ns:film.production_company.films M3 .
  ?x0 ns:people.person.gender ns:m.02zsn .
  ?x0 ns:people.person.nationality ns:m.09c7w0 .
  ?x0 ns:people.person.nationality ns:m.0d060g
  }