Counting Techniques Examples With Solutions