Was M2 written by M3 , written by a art director of M0 , and edited by a person
SELECT count(*) WHERE {
?x0 ns:film.film_art_director.films_art_directed M0 .
?x1 a ns:people.person .
M2 ns:film.film.edited_by ?x1 .
M2 ns:film.film.written_by ?x0 .
M2 ns:film.film.written_by M3
}