A variant of IntStore that takes an array of labels.
The array indices are used as values.
an array of labels
the number of values
a new ListStore.