Was M2 directed by a cinematographer , edited by M3 , and directed by a actor
SELECT count(*) WHERE {
?x0 a ns:film.actor .
?x1 a ns:film.cinematographer .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.edited_by M3
}