Number of balanced parenthesis