Was M0 a film director that was influenced by M5 , influenced M2 , M3 , and M4 , and was influenced by M6
SELECT count(*) WHERE {
M0 a ns:film.director .
M0 ns:influence.influence_node.influenced M2 .
M0 ns:influence.influence_node.influenced M3 .
M0 ns:influence.influence_node.influenced M4 .
M0 ns:influence.influence_node.influenced_by M5 .
M0 ns:influence.influence_node.influenced_by M6
}