question: Were M2 , M4 , M5 , and M6 influenced by M3 and influenced by a German screenwriter
query: SELECT count(*) WHERE {
  ?x0 a ns:film.writer .
  ?x0 ns:people.person.nationality ns:m.0345h .
  M2 ns:influence.influence_node.influenced_by ?x0 .
  M2 ns:influence.influence_node.influenced_by M3 .
  M4 ns:influence.influence_node.influenced_by ?x0 .
  M4 ns:influence.influence_node.influenced_by M3 .
  M5 ns:influence.influence_node.influenced_by ?x0 .
  M5 ns:influence.influence_node.influenced_by M3 .
  M6 ns:influence.influence_node.influenced_by ?x0 .
  M6 ns:influence.influence_node.influenced_by M3
  }