Was M2 edited by M1 's cinematographer , edited by M3 , and produced by a person
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x1 ns:film.cinematographer.film M1 .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.edited_by M3 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}