Amount of positive number in a list
Given a list, return the number of the positive numbers.
Sample Code:
def countPos(l):
# Enter your logic here...
Examples:
Input: [1,2,3,-4,-5,-6]
Output: 3
Explanation: 3 positive numbers to be found in the list.
Input: ['1',-2,'3',-4,'5',-6]
Output: 3
Explanation: After type conversion, there will be 3 positive numbers.