Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| Rank | Nation | Gold | Silver | Bronze | Total |
| --- | --- | --- | --- | --- | --- |
| 1 | Brazil (BRA) | 2.0 | 0.0 | 1.0 | 3.0 |
| 1 | South Korea (KOR) | 2.0 | 0.0 | 1.0 | 3.0 |
| 3 | Portugal (POR) | 1.0 | 3.0 | 1.0 | 5.0 |
| 4 | Great Britain (GBR) | 1.0 | 1.0 | 0.0 | 2.0 |
| 4 | Hong Kong (HKG) | 1.0 | 1.0 | 0.0 | 2.0 |
| 6 | Spain (ESP) | 0.0 | 1.0 | 2.0 | 3.0 |
| 7 | Greece (GRE) | 0.0 | 1.0 | 0.0 | 1.0 |
| 8 | Czech Republic (CZE) | 0.0 | 0.0 | 1.0 | 1.0 |
| 8 | Ireland (IRL) | 0.0 | 0.0 | 1.0 | 1.0 |
| Total | Total | 7.0 | 7.0 | 7.0 | 21.0 |
Question:
What is the medal total when there is 2 gold medals, and Brazil (BRA) is the nation?
Answer:
3.0