add method to compute the number of possiblities to partition a number into non-zero summands
shorten SA code