Abaixo está uma instrução que descreve uma tarefa de geração de SQL, combinada com uma entrada que fornece mais contexto sobre os esquemas de tabela disponíveis. Escreva o código SQL que responda adequadamente à solicitação
 ###Instrução: Quantos terceiros lugares a Costa Rica tem?
 ###Tabelas: CREATE TABLE broadcast_rights (broadcast_rights_id AUTO_INCREMENT PRIMARY KEY, Territory VARCHAR, Broadcaster VARCHAR, Channel INT, Launched VARCHAR, Closed VARCHAR) CREATE TABLE by_country_tally (by_country_tally_id AUTO_INCREMENT PRIMARY KEY, Rank INT, Country VARCHAR, Miss United Continent INT, Virreina INT, 1st RU INT, 2nd RU INT, 3rd RU INT, 4th RU INT, Semifinalists INT, Total INT) CREATE TABLE sailing_1896–1968 (sailing_1896–1968_id AUTO_INCREMENT PRIMARY KEY, Rank VARCHAR, Nation VARCHAR, Gold INT, Silver INT, Bronze INT, Total INT) CREATE TABLE top_ukraine_goalscorers (top_ukraine_goalscorers_id AUTO_INCREMENT PRIMARY KEY, Player VARCHAR, Career VARCHAR, Goals INT, Caps INT, Average INT) CREATE TABLE broadcast_rights (broadcast_rights_id AUTO_INCREMENT PRIMARY KEY, Territory VARCHAR, Broadcaster VARCHAR, Channel INT, Launched VARCHAR, Closed VARCHAR)  
SELECT MAX 3rd RU FROM by_country_tally WHERE Country = Costa Rica