Did M3 star a female Canadian screenwriter
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.0d060g .
M3 ns:film.film.starring/ns:film.performance.actor ?x0
}