question: Were M2 and M5 influenced by a person , influenced by M3 and M4 , and influenced by a actor
query: SELECT count(*) WHERE {
  ?x0 a ns:film.actor .
  ?x1 a ns:people.person .
  M2 ns:influence.influence_node.influenced_by ?x0 .
  M2 ns:influence.influence_node.influenced_by ?x1 .
  M2 ns:influence.influence_node.influenced_by M3 .
  M2 ns:influence.influence_node.influenced_by M4 .
  M5 ns:influence.influence_node.influenced_by ?x0 .
  M5 ns:influence.influence_node.influenced_by ?x1 .
  M5 ns:influence.influence_node.influenced_by M3 .
  M5 ns:influence.influence_node.influenced_by M4
  }