The principle that helps us to determine the total number of outcomes in a sample space is the counting principle.
The Fundamental Counting Principle: If there are “a” ways for one event to happen, and “b” ways for a second event to happen, then there are “a * b” ways for both events to happen.