question: Were M2 and M3 influenced by a person and influenced by a executive producer , producer , star , and writer of M1
query: SELECT count(*) WHERE {
  ?x0 a ns:people.person .
  ?x1 ns:film.actor.film/ns:film.performance.film M1 .
  ?x1 ns:film.producer.films_executive_produced M1 .
  ?x1 ns:film.producer.film|ns:film.production_company.films M1 .
  ?x1 ns:film.writer.film M1 .
  M2 ns:influence.influence_node.influenced_by ?x0 .
  M2 ns:influence.influence_node.influenced_by ?x1 .
  M3 ns:influence.influence_node.influenced_by ?x0 .
  M3 ns:influence.influence_node.influenced_by ?x1
  }