Was M2 edited by a film producer , written by a film producer , and directed by a art director
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 a ns:film.producer .
?x2 a ns:film.film_art_director .
M2 ns:film.film.directed_by ?x2 .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.written_by ?x0
}