Did a film that M2 wrote and M3 wrote star M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.starring/ns:film.performance.actor M1 .
?x0 ns:film.film.written_by M2 .
?x0 ns:film.film.written_by M3
}