Was M3 a film whose German cinematographer and writer directed M1 and M2
SELECT count(*) WHERE {
?x0 ns:film.director.film M1 .
?x0 ns:film.director.film M2 .
?x0 ns:people.person.nationality ns:m.0345h .
M3 a ns:film.film .
M3 ns:film.film.cinematography ?x0 .
M3 ns:film.film.written_by ?x0
}