Did M2 star a film director , star M3 and M4 , and star M1 's cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.director .
?x1 ns:film.cinematographer.film M1 .
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
}