Was M1 a character that was influenced by M4 , was influenced by a screenwriter , and influenced M3
SELECT count(*) WHERE {
?x0 a ns:film.writer .
M1 a ns:fictional_universe.fictional_character .
M1 ns:influence.influence_node.influenced M3 .
M1 ns:influence.influence_node.influenced_by ?x0 .
M1 ns:influence.influence_node.influenced_by M4
}