Was a Spanish writer of M1 and M2 a male film producer
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:people.person.gender ns:m.05zppz .
?x0 ns:people.person.nationality ns:m.06mkj
}