Did M3 distribute a film that was executive produced by M2 's director and was written by M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by M1 .
?x1 ns:film.director.film M2 .
M3 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film ?x0
}