Was M2 a film executive produced by a film producer and directed by a actor
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x1 a ns:film.actor .
M2 a ns:film.film .
M2 ns:film.film.directed_by ?x1 .
M2 ns:film.film.executive_produced_by ?x0
}