rules of counting in probability