@[(]@ { parens = parens + match( $0, @(@ ); } END { printf("parens=%d\n", parens ); }