Were M2 , M3 , M4 , and M5 directed and edited by a cinematographer that influenced M1
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:influence.influence_node.influenced M1 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.edited_by ?x0 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.edited_by ?x0 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.edited_by ?x0 .
M5 ns:film.film.directed_by ?x0 .
M5 ns:film.film.edited_by ?x0
}