Determine the number of combinations from a given set