Calculate the number of combinations in a lottery