Did M3 star M4 and M5 and star a star of M0 , M1 , and M2
SELECT count(*) WHERE {
?x0 ns:film.actor.film/ns:film.performance.film M0 .
?x0 ns:film.actor.film/ns:film.performance.film M1 .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
M3 ns:film.film.starring/ns:film.performance.actor ?x0 .
M3 ns:film.film.starring/ns:film.performance.actor M4 .
M3 ns:film.film.starring/ns:film.performance.actor M5
}