Was M4 directed by M3 's German producer and written by a Italian film director
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x0 ns:people.person.nationality ns:m.03rjj .
?x1 ns:film.producer.film|ns:film.production_company.films M3 .
?x1 ns:people.person.nationality ns:m.0345h .
M4 ns:film.film.directed_by ?x1 .
M4 ns:film.film.written_by ?x0
}