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