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