Was M4 produced by a German screenwriter that M1 and M2 were influenced by
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:people.person.nationality ns:m.0345h .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}