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_ce7nGUm):
How many times does the letter "w" appear in the text: "was known"? Respond with an integer.

Question 1 (Question id: q_BeElDskv):
How many times does the letter "h" appear in the text: "authors who was"? Respond with an integer.

Question 2 (Question id: q_zEsYdvAB):
Determine the value of a that satisfies: 26*a = 494 Respond with an integer.

Question 3 (Question id: q_kAH7d):
How many times does the letter "h" appear in the text: "you English will"? Respond with an integer.

Question 4 (Question id: q_WCJ3):
Find the value of w in the equation: 120*w + 3 = 1203 Respond with an integer.

Question 5 (Question id: q_NAP6):
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 insects, 4 crickets, 4 praying mantiss?
 Respond with an integer.



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

The value for each key should be an object that contains the answer in the field 'answer'.
If the response to a question is an integer that is even, also add the field 'half_answer' to the object which contains the answer integer divided by two.
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:
• num_questions_asked: how many questions were asked in total.

Now provide the result JSON using the described format.

{"ground_truth": {"q_zEsYdvAB": {"answer": 19}, "q_kAH7d": {"answer": 1}, "q_BeElDskv": {"answer": 2, "half_answer": 1}, "q_ce7nGUm": {"answer": 2, "half_answer": 1}, "q_NAP6": {"answer": 72, "half_answer": 36, "animal_types": ["cricket", "insect", "praying mantis"]}, "global_metadata": {"num_questions_asked": 6}}}