question: Was M3 a screenwriter that a writer and producer of M0 , M1 , and M2 was influenced by
query: SELECT count(*) WHERE {
  ?x0 ns:film.producer.film|ns:film.production_company.films M0 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M1 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M2 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2 .
  M3 a ns:film.writer .
  M3 ns:influence.influence_node.influenced ?x0
  }