I have a data in belowthe format below, where in the first line, the lower and upper valuevalues are the same, but in the next line, the lower and upper are invalues form a range i(i.e. starting, from 73760 to 73796). I need where I can getto calculate the count of all such lines where the lower and upper valuevalues are the same., and, on the other hand line, the count of all such lines where the data lower and upper are invalues form a range in addition to expansion, along with the expanded count of the range data i(i.e., the number of values within the range).
outputOutput as below:
individual data : 1
range data : 1
range expanded : 37 (expansion of 73760 to 73796)
inputInput data as below:
TMI=012813 FCI=00 low=000654 up=000654 sor=0E
TMI=012813 FCI=00 low=073760 up=073796 sor=0E