Was M1 a film 's writer 's female actor
SELECT count(*) WHERE {
?x0 ns:film.writer.film ?x1 .
?x1 a ns:film.film .
M1 ns:film.actor.film/ns:film.performance.character ?x0 .
M1 ns:people.person.gender ns:m.02zsn
}