question: Was M4 produced by and executive produced by a writer and executive producer of M0 , M1 , M2 , and M3
query: SELECT count(*) WHERE {
  ?x0 ns:film.producer.films_executive_produced M0 .
  ?x0 ns:film.producer.films_executive_produced M1 .
  ?x0 ns:film.producer.films_executive_produced M2 .
  ?x0 ns:film.producer.films_executive_produced M3 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2 .
  ?x0 ns:film.writer.film M3 .
  M4 ns:film.film.executive_produced_by ?x0 .
  M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0
  }