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_82 (total VARCHAR, nation VARCHAR, rank VARCHAR)
  ### Question:
  Tell me the total number for costa rica and rank more than 8
  ### Answer:
  SELECT COUNT(total) FROM table_name_82 WHERE nation = "costa rica" AND rank > 8