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