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