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
['7971', 'd', 'X', '2037', '5805', '9941', 'I', '4455', 'z', '3289', 'p', 'D', 'o', '8259', '891', 'N', '1861', '8723', 'h', '7901', '845', 'H', 'I', '8633', '4919', '6401', '615', 'V', '5375', '2017', 'J', '2741', '8913', '41', '5537', 'q', '5269', 'a']
Answer:
23