CREATE TABLE table_name_31 (bronze VARCHAR(255), gold VARCHAR(255), total VARCHAR(255), nation VARCHAR(255))
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