Did a cinematographer that M1 was influenced by and influenced write and direct a film
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.director.film ?x1 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x1 a ns:film.film
}