Did a French film producer that M1 , M2 , and M3 starred and were written by produce M5
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:film.producer.film|ns:film.production_company.films M5 .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:people.person.nationality ns:m.0f8l9c
}