Were M2 , M3 , and M4 directed by a film producer and directed by a film 's executive producer
SELECT count(*) WHERE {
?x0 ns:film.producer.films_executive_produced ?x1 .
?x1 a ns:film.film .
?x2 a ns:film.producer .
M2 ns:film.film.directed_by ?x0 .
M2 ns:film.film.directed_by ?x2 .
M3 ns:film.film.directed_by ?x0 .
M3 ns:film.film.directed_by ?x2 .
M4 ns:film.film.directed_by ?x0 .
M4 ns:film.film.directed_by ?x2
}