Was M0 a film director that influenced M2 and M3 , was influenced by M4 , and was influenced by M5
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_by M4 .
M0 ns:influence.influence_node.influenced_by M5
}