question: Was M0 a character that M2 was written by and M3 was executive produced by
query: SELECT count(*) WHERE {
  M0 a ns:fictional_universe.fictional_character .
  M0 ns:film.producer.films_executive_produced M3 .
  M0 ns:film.writer.film M2
  }