Were M2 and M3 influenced by a film 's executive producer and influenced by a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x1 ns:film.producer.films_executive_produced ?x2 .
?x2 a ns:film.film .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1
}