Was M3 written by M2 's German cinematographer and executive produced by a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x1 ns:film.cinematographer.film M2 .
?x1 ns:people.person.nationality ns:m.0345h .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1
}