Save input shard lengths
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_7897). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
will be useful for the Viewer, to know what (original) shard each row belongs to

cc @cfahlgren1 

next step is use it in Dataset Viewer and expose an API that returns the file containing the row at rowId

(took the opportunity to remove unusued code)