How do I convert the offesets: IndexSet value to just a plain int?
I can get a range using offsets.startIndex, but that still doesn't give me an int. startIndex seems to be the value I need to pass to the view model, so that I can update the underlying array.