Were M3 and M4 produced by a person and executive produced by a actor that M1 influenced
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:influence.influence_node.influenced_by M1 .
?x1 a ns:people.person .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
M4 ns:film.film.executive_produced_by ?x0 .
M4 ns:film.film.produced_by|ns:film.film.production_companies ?x1
}