Was M2 edited by M5 , written by M3 and M4 , and written by a film editor influenced by M1
SELECT count(*) WHERE {
?x0 a ns:film.editor .
?x0 ns:influence.influence_node.influenced_by M1 .
M2 ns:film.film.edited_by M5 .
M2 ns:film.film.written_by ?x0 .
M2 ns:film.film.written_by M3 .
M2 ns:film.film.written_by M4
}