Was M5 edited by a French female screenwriter that produced M2 and M3 and produced by M6
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?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.0f8l9c .
M5 ns:film.film.edited_by ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies M6
}