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