Was M1 produced by a cinematographer and edited by a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x1 a ns:film.cinematographer .
M1 ns:film.film.edited_by ?x1 .
M1 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}