Were M3 and M4 produced by and edited by a cinematographer influenced by M1 and influenced by M2
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
M3 ns:film.film.edited_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M4 ns:film.film.edited_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x0
}