Did a film star M1 , M2 , and M3 and star M4 's male writer
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor M1 .
?x0 ns:film.film.starring/ns:film.performance.actor M2 .
?x0 ns:film.film.starring/ns:film.performance.actor M3 .
?x1 ns:film.writer.film M4 .
?x1 ns:people.person.gender ns:m.05zppz
}