question: Was M0 's Japanese writer influenced by M5 's actor and influenced by M1 , M2 , and M3
query: SELECT count(*) WHERE {
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:influence.influence_node.influenced_by ?x1 .
  ?x0 ns:influence.influence_node.influenced_by M1 .
  ?x0 ns:influence.influence_node.influenced_by M2 .
  ?x0 ns:influence.influence_node.influenced_by M3 .
  ?x0 ns:people.person.nationality ns:m.03_3d .
  ?x1 ns:film.actor.film/ns:film.performance.character M5
  }