question: Were M1 and M5 influenced by M0 's costume designer , star , and writer and influenced by M2 , M3 , and M4
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.film M0 .
  ?x0 ns:film.film_costumer_designer.costume_design_for_film M0 .
  ?x0 ns:film.writer.film M0 .
  M1 ns:influence.influence_node.influenced_by ?x0 .
  M1 ns:influence.influence_node.influenced_by M2 .
  M1 ns:influence.influence_node.influenced_by M3 .
  M1 ns:influence.influence_node.influenced_by M4 .
  M5 ns:influence.influence_node.influenced_by ?x0 .
  M5 ns:influence.influence_node.influenced_by M2 .
  M5 ns:influence.influence_node.influenced_by M3 .
  M5 ns:influence.influence_node.influenced_by M4
  }