added sum counter to EntryReader