counting parenthesis