what is counting techniques in probability