Did M2 and M3 star a person that M1 was produced by and was executive produced by
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.producer.films_executive_produced M1 .
?x0 ns:film.producer.film|ns:film.production_company.films M1 .
M2 ns:film.film.starring/ns:film.performance.actor ?x0 .
M3 ns:film.film.starring/ns:film.performance.actor ?x0
}