question: Were M2 and M5 written by M3 , executive produced by a film director that M1 employed , and written by M4
query: SELECT count(*) WHERE {
  ?x0 a ns:film.director .
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
  M2 ns:film.film.executive_produced_by ?x0 .
  M2 ns:film.film.written_by M3 .
  M2 ns:film.film.written_by M4 .
  M5 ns:film.film.executive_produced_by ?x0 .
  M5 ns:film.film.written_by M3 .
  M5 ns:film.film.written_by M4
  }