text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_85 (total VARCHAR, bronze VARCHAR, gold VARCHAR, nation VARCHAR)
  ### Question:
  Portugal has how many total number of medals when there is 1 gold medal, and bronze medals are greater than 0?
  ### Answer:
  SELECT COUNT(total) FROM table_name_85 WHERE gold = 1 AND nation = "portugal" AND bronze > 0