Were M3 and M5 directed by M4 and directed by a French female cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:people.person.gender ns:m.02zsn .
?x0 ns:people.person.nationality ns:m.0f8l9c .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.directed_by M4 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.directed_by M4
}