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_iAUG):
How many times does the letter "n" appear in the text: "planet gravitates"? Respond with an integer.

Question 1 (Question id: q_0EDDJ):
Calculate 9 + -6.

Question 2 (Question id: q_bpux):
Solve for m: -30*m - 2 = -542 Respond with an integer.

Question 3 (Question id: q_B0GLFbk):
How many times does the letter "h" appear in the text: "sentence with"? Respond with an integer.

Question 4 (Question id: q_nxs5EoA2):
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, 1 jellyfish, 4 grasshoppers, 1 bee, 2 insects?
 Respond with an integer.

Question 5 (Question id: q_SNczx):
How many times does the letter "g" appear in the text: "See paragraph"? Respond with an integer.

Question 6 (Question id: q_S5sgT3):
Find the value of r in the equation: 640*r = 3200 Respond with an integer.

Question 7 (Question id: q_5MmVa1):
How many times does the letter "d" appear in the text: "head sunk in"? Respond with an integer.

Question 8 (Question id: q_OLzGso):
Calculate 1 - 1.



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.
For even integers, nest 'half_answer' and 'double_answer' inside an additional 'additional_answer_info' field in the answer object.

Now provide the result JSON using the described format.

{"ground_truth": {"q_iAUG": {"answer": 1, "task_type": "letter_counting"}, "q_0EDDJ": {"answer": 3}, "q_bpux": {"answer": 18, "additional_answer_info": {"half_answer": 9, "double_answer": 36}}, "q_B0GLFbk": {"answer": 1, "task_type": "letter_counting"}, "q_nxs5EoA2": {"answer": 50, "task_type": "leg_counting", "additional_answer_info": {"half_answer": 25, "double_answer": 100}}, "q_SNczx": {"answer": 1, "task_type": "letter_counting"}, "q_S5sgT3": {"answer": 5}, "q_5MmVa1": {"answer": 1, "task_type": "letter_counting"}, "q_OLzGso": {"answer": 0, "additional_answer_info": {"half_answer": 0, "double_answer": 0}}}}