question: Were M3 , M5 , and M6 written by M4 and executive produced by a female star of M0 and M1
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.film M0 .
  ?x0 ns:film.actor.film/ns:film.performance.film M1 .
  ?x0 ns:people.person.gender ns:m.02zsn .
  M3 ns:film.film.executive_produced_by ?x0 .
  M3 ns:film.film.written_by M4 .
  M5 ns:film.film.executive_produced_by ?x0 .
  M5 ns:film.film.written_by M4 .
  M6 ns:film.film.executive_produced_by ?x0 .
  M6 ns:film.film.written_by M4
  }