Did M1 , M5 , and M6 influence a screenwriter and influence M2 , M3 , and M4
SELECT count(*) WHERE {
?x0 a ns:film.writer .
M1 ns:influence.influence_node.influenced ?x0 .
M1 ns:influence.influence_node.influenced M2 .
M1 ns:influence.influence_node.influenced M3 .
M1 ns:influence.influence_node.influenced M4 .
M5 ns:influence.influence_node.influenced ?x0 .
M5 ns:influence.influence_node.influenced M2 .
M5 ns:influence.influence_node.influenced M3 .
M5 ns:influence.influence_node.influenced M4 .
M6 ns:influence.influence_node.influenced ?x0 .
M6 ns:influence.influence_node.influenced M2 .
M6 ns:influence.influence_node.influenced M3 .
M6 ns:influence.influence_node.influenced M4
}