Was M2 written by M3 , produced by M4 , and directed by a French actor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:people.person.nationality ns:m.0f8l9c .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.produced_by|ns:film.film.production_companies M4 .
M2 ns:film.film.written_by M3
}