Did M2 distribute and produce a film that was written by and executive produced by M1
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.executive_produced_by M1 .
?x0 ns:film.film.written_by M1 .
M2 ns:film.film_distributor.films_distributed/ns:film.film_film_distributor_relationship.film ?x0 .
M2 ns:film.producer.film|ns:film.production_company.films ?x0
}