Was M4 written by a French cinematographer that M2 and M3 starred
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:people.person.nationality ns:m.0f8l9c .
M4 ns:film.film.written_by ?x0
}