A probability measure is a mathematical function that assigns a probability to each event in a sample space, ensuring that the total probability across all possible events equals one. This concept is fundamental in defining probability spaces, allowing for the quantification of uncertainty and enabling the application of counting techniques to determine probabilities of complex events.