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
['K', '3495', '9415', 'S', 'h', 'Z', 'K', '9841', 'Q', 'q', '3323', '6061', 'O', '8435', 'L', '7661', 'E', '5347', 'I', '1443', 'Q', 'F', '2767', '271', '785', '2991', 'R', '5985', '747', '4567', 'F', '6519', 'y', '3213', 'p', 'q']
Answer:
18