question: Was a writer of M1 a costume designer that influenced M2 , M3 , and M4
query: SELECT count(*) WHERE {
  ?x0 a ns:film.film_costumer_designer .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:influence.influence_node.influenced M2 .
  ?x0 ns:influence.influence_node.influenced M3 .
  ?x0 ns:influence.influence_node.influenced M4
  }