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_btX6kXzl):
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 woodlouses, 4 sea slugs, 1 giraffe?
 Respond with an integer.

Question 1 (Question id: q_relCuXeM):
How many times does the letter "m" appear in the text: "mirror of"? Respond with an integer.

Question 2 (Question id: q_qLH4ze):
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 leech, 3 spiders, 2 shrimps, 2 ants, 2 flatworms?
 Respond with an integer.

Question 3 (Question id: q_XR5ms67X):
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 ducks, 2 shrimps, 1 giraffe, 1 flatworm?
 Respond with an integer.

Question 4 (Question id: q_8a7lYR2):
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 leech, 1 cow, 3 flatworms, 4 bees?
 Respond with an integer.



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

The value for each key should be an object that contains the answer in the field 'answer'.
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.

Now provide the result JSON using the described format.

{"ground_truth": {"q_8a7lYR2": {"answer": 28, "answer_type": "integer", "half_answer": 14}, "q_relCuXeM": {"answer": 1, "answer_type": "integer"}, "q_qLH4ze": {"answer": 56, "answer_type": "integer", "half_answer": 28}, "q_XR5ms67X": {"answer": 32, "answer_type": "integer", "half_answer": 16}}}