fix elements read count for ExtrenalSorter

the elementsRead variable should be reset to 0 after each spilling