what is one method for calculating the total number of outcomes in a sample space?

what is one method for calculating the total number of outcomes in a sample space?