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