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_G42WHd):
Calculate 8 + -1.

Question 1 (Question id: q_EoXn):
How many times does the letter "d" appear in the text: "charitable donations"? Respond with an integer.

Question 2 (Question id: q_ToKu8rpA):
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 leechs, 1 jellyfish, 1 wasp, 1 horse, 2 beetles?
 Respond with an integer.

Question 3 (Question id: q_FfhvMx):
How many times does the letter "a" appear in the text: "and without paying"? Respond with an integer.



Return a JSON with each question id (except for q_FfhvMx) as a key.

For every question id, supply an object whose 'answer' field stores the solution. 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.
If the response to a question is a string, add a 'first_char' field containing its first character.
If the question asks for the last character of a string, add an 'original_string' field containing the source string.

Now provide the result JSON using the described format.

{"ground_truth": {"q_G42WHd": {"answer": 7}, "q_EoXn": {"answer": 1, "task_type": "letter_counting"}, "q_ToKu8rpA": {"answer": 22, "task_type": "leg_counting", "additional_answer_info": {"half_answer": 11, "double_answer": 44}}}}