question: Were M1 and M3 influenced by M2 and influenced by a director , writer , and costume designer of M0
query: SELECT count(*) WHERE {
  ?x0 ns:film.director.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 .
  M3 ns:influence.influence_node.influenced_by ?x0 .
  M3 ns:influence.influence_node.influenced_by M2
  }