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_RpW9Qj):
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 humans, 4 starfishs, 3 flatworms, 4 ducks, 4 crickets?
 Respond with an integer.

Question 1 (Question id: q_H6XSr7):
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 shrimp, 1 chicken, 3 cats, 2 leechs, 4 fireflys?
 Respond with an integer.



Produce a JSON object whose top-level keys are the question ids.

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.
For animal-leg questions, add 'animal_types': an alphabetically-sorted list of unique animal names in singular form.

Add a top-level 'global_metadata' field that records overall stats:
Include 'num_questions_asked' to record the total number of questions presented.
• num_questions_answered – number you actually answered.
• questions_with_integer_answers – list of question ids whose answers are integers (empty list if none).

Now provide the result JSON using the described format.

{"ground_truth": {"q_RpW9Qj": {"answer": 60, "additional_answer_info": {"half_answer": 30, "double_answer": 120}, "animal_types": ["cricket", "duck", "flatworm", "human", "starfish"]}, "q_H6XSr7": {"answer": 48, "additional_answer_info": {"half_answer": 24, "double_answer": 96}, "animal_types": ["cat", "chicken", "firefly", "leech", "shrimp"]}, "global_metadata": {"num_questions_asked": 2, "num_questions_answered": 2, "questions_with_integer_answers": ["q_RpW9Qj", "q_H6XSr7"]}}}