Were M4 and M5 produced by a costume designer and produced by a French writer of M1 and M2
SELECT count(*) WHERE {
?x0 a ns:film.film_costumer_designer .
?x1 ns:film.writer.film M1 .
?x1 ns:film.writer.film M2 .
?x1 ns:people.person.nationality ns:m.0f8l9c .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M5 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}