question: Was M3 written by , edited by , and produced by a male person that was employed by M2 's employer
query: SELECT count(*) WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
  ?x0 ns:people.person.gender ns:m.05zppz .
  ?x1 ns:business.employer.employees/ns:business.employment_tenure.person M2 .
  M3 ns:film.film.edited_by ?x0 .
  M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
  M3 ns:film.film.written_by ?x0
  }