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 | Cuba | 4 | 3 | 2 | 9 |
| 2 | Canada | 4 | 2 | 1 | 7 |
| 3 | United States | 2 | 0 | 2 | 4 |
| 4 | Mexico | 1 | 1 | 0 | 2 |
| 5 | Ecuador | 1 | 0 | 0 | 1 |
| 6 | Argentina | 0 | 4 | 3 | 7 |
| 7 | Brazil | 0 | 2 | 2 | 4 |
| 8 | Chile | 0 | 0 | 1 | 1 |
| 8 | Venezuela | 0 | 0 | 1 | 1 |
| Total | Total | 12 | 12 | 12 | 36 |
Question:
how many total medals did brazil received?
Answer:
4