Made seek() return the count and set old_count to new_count before next seek()