question: Was M0 a German person that M5 and M6 were directed by and M3 and M4 starred
query: SELECT count(*) WHERE {
  M0 a ns:people.person .
  M0 ns:film.actor.film/ns:film.performance.film M3 .
  M0 ns:film.actor.film/ns:film.performance.film M4 .
  M0 ns:film.director.film M5 .
  M0 ns:film.director.film M6 .
  M0 ns:people.person.nationality ns:m.0345h
  }