question: Was a Japanese director of M3 a film producer influenced by M1 and influenced by a screenwriter
query: SELECT count(*) WHERE {
  ?x0 a ns:film.producer .
  ?x0 ns:film.director.film M3 .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?x0 ns:people.person.nationality ns:m.03_3d .
  ?x1 a ns:film.writer
  }