Was M3 executive produced by a cinematographer and written by M2 's French star
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x1 ns:people.person.nationality ns:m.0f8l9c .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x1
}