question: Were M2 and M3 directed by and produced by a male art director and writer of M0
query: SELECT count(*) WHERE {
  ?x0 ns:film.film_art_director.films_art_directed M0 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:people.person.gender ns:m.05zppz .
  M2 ns:film.film.directed_by ?x0 .
  M2 ns:film.film.produced_by|ns:film.film.production_companies ?x0 .
  M3 ns:film.film.directed_by ?x0 .
  M3 ns:film.film.produced_by|ns:film.film.production_companies ?x0
  }