Were M4 and M6 distributed by M5 and produced by a German American writer of M0 and M1
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.nationality ns:m.0345h .
?x0 ns:people.person.nationality ns:m.09c7w0 .
M4 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M5 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M6 ns:film.film.distributors/ns:film.film_film_distributor_relationship.distributor M5 .
M6 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}