Here's a string that asks you to find out
how many pairs of "()" there are.The string may contain Spaces.
For example:”((lele) love (xxn))”. It
contains three pairs of "()"
But: “)aaa(xxn love too)(“ there is only
one "()" in it.
And: “(www(aa)(” there is only one
"()" in it too.