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_f1x5Kp):
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, 2 praying mantiss, 2 grasshoppers, 1 human?
 Respond with an integer.

Question 1 (Question id: q_OGNRcEG):
Calculate 8 + -4 / 2.



Create a JSON object keyed by every question id except q_f1x5Kp.

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.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.
For string answers, include 'first_char' with the answer’s initial letter.
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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_OGNRcEG": {"answer": 6, "additional_answer_info": {"half_answer": 3, "double_answer": 12}}, "global_metadata": {"num_questions_asked": 2}}}