Was M3 's German female star a Canadian writer of M0
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.0345h .
?x0 ns:people.person.nationality ns:m.0d060g
}