Write count_positive(nums) returning how many numbers are greater than 0.
count_positive(nums)
count_positive([1, -2, 3, 0]) → 2
count_positive([]) → 0
Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.