Returns the number of ways to choose some number of objects from a pool of a given size of objects, including ways that choose the same object multiple times..