question: Was M1 a actor that influenced a cinematographer and was influenced by M3
query: SELECT count(*) WHERE {
  ?x0 a ns:film.cinematographer .
  M1 a ns:film.actor .
  M1 ns:influence.influence_node.influenced ?x0 .
  M1 ns:influence.influence_node.influenced_by M3
  }