Probability and counting rules