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