Was a writer and art director of M1 a male person
SELECT count(*) WHERE {
?x0 a ns:people.person .
?x0 ns:film.film_art_director.films_art_directed M1 .
?x0 ns:film.writer.film M1 .
?x0 ns:people.person.gender ns:m.05zppz
}