probability counting problems with solutions pdf