Did a film star M1 , star M2 and M3 , and star M4 and M5
SELECT count(*) WHERE {
?x0 a ns:film.film .
?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 .
?x0 ns:film.film.starring/ns:film.performance.actor M4 .
?x0 ns:film.film.starring/ns:film.performance.actor M5
}