question: Were M4 and M5 written by a American person that M2 employed and written by M0 's producer
query: SELECT count(*) WHERE {
  ?x0 ns:film.producer.film|ns:film.production_company.films M0 .
  ?x1 a ns:people.person .
  ?x1 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
  ?x1 ns:people.person.nationality ns:m.09c7w0 .
  M4 ns:film.film.written_by ?x0 .
  M4 ns:film.film.written_by ?x1 .
  M5 ns:film.film.written_by ?x0 .
  M5 ns:film.film.written_by ?x1
  }