Was M3 influenced by M0 's Canadian writer , influenced by M4 , and influenced by a cinematographer
SELECT count(*) WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.nationality ns:m.0d060g .
?x1 a ns:film.cinematographer .
M3 ns:influence.influence_node.influenced_by ?x0 .
M3 ns:influence.influence_node.influenced_by ?x1 .
M3 ns:influence.influence_node.influenced_by M4
}