Was M2 written by M4 , executive produced by M3 , and produced by a person that a film producer was influenced by
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced ?x1 .
?x1 a ns:film.producer .
M2 ns:film.film.executive_produced_by M3 .
M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
M2 ns:film.film.written_by M4
}