Were M2 and M3 directed by , executive produced by , and written by a actor influenced by M1
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x0 ns:influence.influence_node.influenced_by M1 .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.executive_produced_by ?x0 .
M2 ns:film.film.written_by ?x0 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.executive_produced_by ?x0 .
M3 ns:film.film.written_by ?x0
}