The Stirling numbers of the second kind, written S(n,k), count the number of ways to partition a set of
n labelled objects into k nonempty unlabelled subsets. For example if the set is [a,b,c,d], the partitions
in 2 blocks are: [[a], [bcd]], [[b], [acd]], [[c], [abd]], [[d],[abc]] with cardinalities (1,3) and
[ab, cd], [ac, bd], [ad, bc] with cardinalities (2,2). Then S(4,2) is 7. S(4,2) is also the number of
set partitions of class the partition of 4 in two parts.