Teacher: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.
Teacher: Now, understand the problem? Solve this instance: ['m', '6659', '8927', '6147', '2977', 'z', 'M', '2327', '5377', '3417', '3277', '6669', 'G', 'y', 'z', '369', 'S', 'F', 'o', 'x', '2087', 'W', 'c', '8619', '6915', 'c', '6159']
Student:
14