Was M2 a screenwriter that M0 's female producer was influenced by and influenced
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x0 ns:people.person.gender ns:m.02zsn .
M2 a ns:film.writer .
M2 ns:influence.influence_node.influenced ?x0 .
M2 ns:influence.influence_node.influenced_by ?x0
}