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

You are given an integer array banned and two integers n and maxSum. You are choosing some number of integers following the below rules:

The chosen integers have to be in the range [1, n].
Each integer can be chosen at most once.
The chosen integers should not be in the array banned.
The sum of the chosen integers should not exceed maxSum.

Return the maximum number of integers you can choose following the mentioned rules.
 
Please complete the following python code precisely:
```python
class Solution:
    def maxCount(self, banned: List[int], n: int, maxSum: int) -> int:
```