question: Did M0 produce M4 , write M1 , executive produce M3 , and write M2
query: SELECT count(*) WHERE {
  M0 ns:film.producer.films_executive_produced M3 .
  M0 ns:film.producer.film|ns:film.production_company.films M4 .
  M0 ns:film.writer.film M1 .
  M0 ns:film.writer.film M2
  }