question: Was M2 directed by M4 , produced by a female person , and edited by M3
query: SELECT count(*) WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:people.person.gender ns:m.02zsn .
  M2 ns:film.film.directed_by M4 .
  M2 ns:film.film.edited_by M3 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
  }