i am reading a file which has the TOTAL COUNT as number of records in the end too. Now i need to remove the TOTAL COUNT from the file i.e the last records and then do a coun