Combinatorics
Counting possibilities: in how many ways can things be arranged or selected? It provides the counts for classical probabilities. Two questions decide: does order matter? May items repeat?
Example: A code of 4 digits: 10⁴ = 10000 possibilities.