Did a screenwriter that played M4 and played M5 influence M1 and M2 and influence M3
SELECT count(*) WHERE {
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.character M4 .
?x0 ns:film.actor.film/ns:film.performance.character M5 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced M3
}