Only counts parentheses, square brackets, and curly braces โ€” ignores quotes and other characters.
All (), [], {} pairs match in order.