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