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