counting principle example problems