Given 4 sets of data, how can I find the number of possible combinations?
Eg.
Colors { Black, Blue, Red, Green }
Shape { Round, Square, Triangular }
Form { Solid, Liquid }
Location { Inside, Outside }
Empty or not selecting an item from a set is not an option. Therefore, { Black, Solid } is invalid but { Black, Square, Solid, Inside } would be valid.
I don't need to generate the list, I'm just curious as to how I'd go about calculating the number of possible combinations.