Was a film executive produced by M1 's male executive producer and written by M3 's art director , producer , and executive producer
SELECT count(*) WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 ns:film.producer.films_executive_produced M1 .
?x1 ns:people.person.gender ns:m.05zppz .
?x2 ns:film.film_art_director.films_art_directed M3 .
?x2 ns:film.producer.films_executive_produced M3 .
?x2 ns:film.producer.film|ns:film.production_company.films M3
}