Thanks all,

The length function works like a charm. Now I have proof that the input file is incorrect.

(And I'm not crazy :-)

-- Charles