Table schema:
CREATE TABLE table_name_31 (bronze VARCHAR, gold VARCHAR, total VARCHAR, nation VARCHAR)

Question: How many bronzes have 1 as the total, with spain (esp) as the nation, and a gold greater than 0?
SQL: SELECT COUNT(bronze) FROM table_name_31 WHERE total = 1 AND nation = "spain (esp)" AND gold > 0