question: Did M0 's French writer write and produce a film
query: SELECT count(*) WHERE {
  ?x0 ns:film.producer.film|ns:film.production_company.films ?x1 .
  ?x0 ns:film.writer.film ?x1 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:people.person.nationality ns:m.0f8l9c .
  ?x1 a ns:film.film
  }