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