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.
['y', '979', 'y', '5119', '6365', '5657', '4589', '9339', 'X', 'l', 'r', '3047', 'r', 'J', 'p', 'P', 'N', 'z', '5341', '4897', 'P', '6787', 'c']