Were M2 and M4 influenced by M3 and influenced by a male cinematographer and executive producer of a film
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film ?x1 .
?x0 ns:film.producer.films_executive_produced ?x1 .
?x0 ns:people.person.gender ns:m.05zppz .
?x1 a ns:film.film .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by M3 .
M4 ns:influence.influence_node.influenced_by ?x0 .
M4 ns:influence.influence_node.influenced_by M3
}