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