question: Were M4 , M6 , and M7 directed by M5 and written by a female editor of M1 , M2 , and M3
query: SELECT count(*) WHERE {
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.editor.film M2 .
  ?x0 ns:film.editor.film M3 .
  ?x0 ns:people.person.gender ns:m.02zsn .
  M4 ns:film.film.directed_by M5 .
  M4 ns:film.film.written_by ?x0 .
  M6 ns:film.film.directed_by M5 .
  M6 ns:film.film.written_by ?x0 .
  M7 ns:film.film.directed_by M5 .
  M7 ns:film.film.written_by ?x0
  }