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_8IkqQ5):
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 jellyfishs, 4 starfishs, 2 flatworms?
 Respond with an integer.

Question 1 (Question id: q_WV76gyu):
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 1 cricket, 2 ants, 3 leechs, 2 scorpions, 2 cats?
 Respond with an integer.

Question 2 (Question id: q_65VBa2d3):
Calculate 2 - -1 + -3.



Your output must be a JSON mapping every question id to its answer info.

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 string answers, include 'first_char' with the answer’s initial letter.

Add a top-level 'global_metadata' field that records overall stats:
• num_questions_asked: how many questions were asked in total.

Now provide the result JSON using the described format.

{"ground_truth": {"q_8IkqQ5": {"answer": 20, "task_type": "leg_counting", "answer_type": "integer", "half_answer": 10}, "q_WV76gyu": {"answer": 42, "task_type": "leg_counting", "answer_type": "integer", "half_answer": 21}, "q_65VBa2d3": {"answer": 0, "answer_type": "integer", "half_answer": 0}, "global_metadata": {"num_questions_asked": 3}}}