Maybe add "...there would be only 10 possible subsamples (because there are 10 nonzero bins in array `a`)" to make it more clear.