Were M3 and M5 written by M4 , executive produced by M0 's producer , and produced by M1 's French writer
SELECT count(*) WHERE {
?x0 ns:film.producer.film|ns:film.production_company.films M0 .
?x1 ns:film.writer.film M1 .
?x1 ns:people.person.nationality ns:m.0f8l9c .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M3 ns:film.film.written_by M4 .
M5 ns:film.film.executive_produced_by ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M5 ns:film.film.written_by M4
}