There are also no "Currently Dealer Longs" or "Assets Managers Long" fields. You can see the names of all COT columns in the comment in the first line of the COT() function.

If you have a different COT file with a different structure, then you can copy the COT function in your script and adapt the format string so that it matches the structure.