Did a person that M3 , M4 , M5 , and M6 influenced and M1 and M2 were influenced by direct M7
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.director.film M7 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x0 ns:influence.influence_node.influenced_by M4 .
?x0 ns:influence.influence_node.influenced_by M5 .
?x0 ns:influence.influence_node.influenced_by M6
}