question: Did a actor that M1 was written and executive produced by direct M3 and write M2
query: SELECT count(*) WHERE {
  ?x0 a ns:film.actor .
  ?x0 ns:film.director.film M3 .
  ?x0 ns:film.producer.films_executive_produced M1 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2
  }