question: Was M2 executive produced by and written by a film producer 's male employee
query: SELECT count(*) WHERE {
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company ?x1 .
  ?x0 ns:people.person.gender ns:m.05zppz .
  ?x1 a ns:film.producer .
  M2 ns:film.film.executive_produced_by ?x0 .
  M2 ns:film.film.written_by ?x0
  }