Input
s = "()())()"
Output:
1
Here in the below code I should fill code to count unbalanced perantheses