question: Were M3 and M5 edited by a person , written by M1 's German editor , and written by M4
query: SELECT count(*) WHERE {
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:people.person.nationality ns:m.0345h .
  ?x1 a ns:people.person .
  M3 ns:film.film.edited_by ?x1 .
  M3 ns:film.film.written_by ?x0 .
  M3 ns:film.film.written_by M4 .
  M5 ns:film.film.edited_by ?x1 .
  M5 ns:film.film.written_by ?x0 .
  M5 ns:film.film.written_by M4
  }