Were M2 , M3 , M4 , and M5 directed and written by a female cinematographer of M1
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M1 .
?x0 ns:people.person.gender ns:m.02zsn .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.written_by ?x0 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.written_by ?x0 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.written_by ?x0 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.written_by ?x0
}