Was M2 influenced by M3 , influenced by a person , influenced by M4 , and influenced by a director of M1
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x1 ns:film.director.film M1 .
M2 ns:influence.influence_node.influenced_by ?x0 .
M2 ns:influence.influence_node.influenced_by ?x1 .
M2 ns:influence.influence_node.influenced_by M3 .
M2 ns:influence.influence_node.influenced_by M4
}