Was a person that directed M5 and wrote M2 , M3 , and M4 a cinematographer
SELECT count(*) WHERE {
?x0 a ns:film.cinematographer .
?x0 a ns:people.person .
?x0 ns:film.director.film M5 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3 .
?x0 ns:film.writer.film M4
}