Were M3 , M4 , M5 , and M6 executive produced by a film producer and written by a German executive producer of M1
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 ns:film.producer.films_executive_produced M1 .
?x1 ns:people.person.nationality ns:m.0345h .
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
}