Did M2 star M0 's executive producer and star a film 's producer
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced M0 .
?x1 ns:film.producer.film|ns:film.production_company.films ?x2 .
?x2 a ns:film.film .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M2 ns:film.film.starring/ns:film.performance.actor ?x1
}