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

Given a valid parentheses string s, return the nesting depth of s. The nesting depth is the maximum number of nested parentheses.
 
Please complete the following python code precisely:
```python
class Solution:
    def maxDepth(self, s: str) -> int:
```