Ah, right. Then something like following would calculate sizes
np.diff(np.asarray([0]+[2,3]+[100])).tolist()
>[2, 1, 97]

i.e. append total size, prepend zero if you have split points instead of indexes, take deltas.