Did a person influence a film director and influence M2 's writer and star
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced ?x2 .
?x1 a ns:film.director .
?x2 ns:film.actor.film/ns:film.performance.film M2 .
?x2 ns:film.writer.film M2
}