Here is the formula for the column Total Items, that I came up with.
count = 0;
i = 1;
While( Word( i, :setting, "," ) != "",
theWord = Word( i, :setting, "," );
If( Contains( theWord, "-" ) | Contains( theWord, ":" ),
Show( Row(), theWord );
count = ((count + Num( Word( 2, theWord, "-:" ) )) - Num( Word( 1, theWord, "-:" ) )) + 1;
,
count
++);
i++;
);
count;
Jim