Did M2 star a cinematographer , star a screenwriter , and star M3 , M4 , M5 , and M6
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x1 a ns:film.cinematographer .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x1 .
M2 ns:film.film.starring/ns:film.performance.actor M3 .
M2 ns:film.film.starring/ns:film.performance.actor M4 .
M2 ns:film.film.starring/ns:film.performance.actor M5 .
M2 ns:film.film.starring/ns:film.performance.actor M6
}