Were M2 , M5 , M6 , M7 , and M8 written by M3 and M4 and written by a French actor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:people.person.nationality ns:m.0f8l9c .
M2 ns:film.film.written_by ?x0 .
M2 ns:film.film.written_by M3 .
M2 ns:film.film.written_by M4 .
M5 ns:film.film.written_by ?x0 .
M5 ns:film.film.written_by M3 .
M5 ns:film.film.written_by M4 .
M6 ns:film.film.written_by ?x0 .
M6 ns:film.film.written_by M3 .
M6 ns:film.film.written_by M4 .
M7 ns:film.film.written_by ?x0 .
M7 ns:film.film.written_by M3 .
M7 ns:film.film.written_by M4 .
M8 ns:film.film.written_by ?x0 .
M8 ns:film.film.written_by M3 .
M8 ns:film.film.written_by M4
}