Counting Principle and Probability