Did a German screenwriter produce and direct M2
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.director.film M2 .
?x0 ns:film.producer.film|ns:film.production_company.films M2 .
?x0 ns:people.person.nationality ns:m.0345h
}