Here is a set of basic questions producing integer or string outputs. Answer them and format the result precisely with the JSON instructions provided:

Question 0 (Question id: q_bZI5Hs7Z):
Calculate ( 9 + 2 ) - -8.

Question 1 (Question id: q_ZZp3P9):
How many times does the letter "t" appear in the text: "the United States"? Respond with an integer.

Question 2 (Question id: q_TfML5):
Calculate 5 / 1 + 3.

Question 3 (Question id: q_kUTWh):
How many times does the letter "n" appear in the text: "PROJECT GUTENBERG"? Respond with an integer.



Return a JSON with each question id (except for q_ZZp3P9) as a key.

Each key’s value must be an object holding an 'answer' field. Additionally, if the task is about counting legs of animals or counting letters in a string, add the task_type field with value 'leg_counting' or 'letter_counting', respectively.
Also add the answer type as 'string' or 'integer' to the field 'answer_type' for each object.
For even integer answers, include 'half_answer' equal to answer ÷ 2.
For last-character tasks, provide 'original_string' alongside the answer.

Now provide the result JSON using the described format.

{"ground_truth": {"q_TfML5": {"answer": 8, "answer_type": "integer", "half_answer": 4}, "q_kUTWh": {"answer": 1, "task_type": "letter_counting", "answer_type": "integer"}, "q_bZI5Hs7Z": {"answer": 19, "answer_type": "integer"}}}