Were M3 , M4 , M5 , and M6 written by M2 's cinematographer and executive produced by a male person
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 ns:film.cinematographer.film M2 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.written_by ?x1 .
M5 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.written_by ?x1 .
M6 ns:film.film.executive_produced_by ?x0 .
M6 ns:film.film.written_by ?x1
}