Given a string s (a valid expression that may contain digits, operators, and parentheses), return the maximum nesting depth of the parentheses. The input is JSON {s}.
Input: JSON {s}.
Output: Integer — the maximum nesting depth.
Input: {"s":"(1+(2*3)+((8)/4))+1"}
Output: 3
Explanation: The deepest nesting is 3.Input: {"s":"1+(2*3)/(2-1)"}
Output: 1
Explanation: No nesting beyond one.Input: {"s":"1"}
Output: 0
Explanation: No parentheses.0<=|s|<=100