Which economic indicator measures the total value of goods and services produced within a country's borders and is often used to assess the overall economic health of a nation?