Please solve the programming task below using a self-contained code snippet in a markdown code block.

Given an array nums sorted in non-decreasing order, return the maximum between the number of positive integers and the number of negative integers.

In other words, if the number of positive integers in nums is pos and the number of negative integers is neg, then return the maximum of pos and neg.

Note that 0 is neither positive nor negative.
 
Please complete the following python code precisely:
```python
class Solution:
    def maximumCount(self, nums: List[int]) -> int:
```