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
['7279', '2419', '7009', '4971', 'n', 'N', '2673', 'R', 'i', 'c', 'T', 'q', '563', '5611', 'Q', '6479', '5141', 'B', '8701', 'P', '3481', '6929', '1891', 'N', 'v', 'a', 'i', 'n', '4693', 'C', 'b', '7455', 'M', '2331', '5793', '5693', '503', '2675', 'P', 'y']
Answer:
20