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_kxQh5h):
Your task is to count how many legs there are in total when given a list of animals.

Now, how many legs are there in total if you have 4 shrimps, 1 giraffe, 2 jellyfishs?
 Respond with an integer.

Question 1 (Question id: q_py3ra):
Your task is to count how many legs there are in total when given a list of animals.

Now, how many legs are there in total if you have 3 starfishs, 4 jellyfishs, 2 sea slugs?
 Respond with an integer.

Question 2 (Question id: q_hToXeO):
Calculate 7 - 3 / 1.

Question 3 (Question id: q_RKfV8):
How many times does the letter "t" appear in the text: "a half interest"? Respond with an integer.



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

For every question id, supply an object whose 'answer' field stores the solution.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
For last-character tasks, provide 'original_string' alongside the answer.

Add a top-level 'global_metadata' field that records overall stats:
Set 'num_questions_asked' to the count of questions originally displayed.
'num_questions_answered' must hold the number of answered questions.
Provide 'questions_with_integer_answers', listing ids with integer answers (or [] if no integers).

Now provide the result JSON using the described format.

{"ground_truth": {"q_kxQh5h": {"answer": 44, "additional_answer_info": {"half_answer": 22, "double_answer": 88}}, "q_hToXeO": {"answer": 4, "additional_answer_info": {"half_answer": 2, "double_answer": 8}}, "q_py3ra": {"answer": 15}, "global_metadata": {"num_questions_asked": 4, "num_questions_answered": 3, "questions_with_integer_answers": ["q_kxQh5h", "q_hToXeO", "q_py3ra"]}}}