Part 1. Definition
In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to return the count of all the numerical elements in the given list. Return 0 if no numerical element in the list.
Part 2. Example
['238', 'h', '92', 'U', '2799']
Answer: 3
Explanation: Here, the numbers in the input list are '238', '92' and '2799', hence their count is 3.
Part 3. Exercise
['Z', 'R', '3113', 'W', 'E', 'B', 'N', 'o', '923', '421', 'A', 'C', 'C', '2519', '4531', '3215', '2243', '3589', '6857', 'z', 's', '5109', 'u', 'b', '8783', '963', 'Z', 'K', 'b', 'B', '9805', 'U', '8899', 'x', 'Y', '8845', 'T', '7939', '1547', 'Z']
Answer:
17