Case #1: 0 Case #2: 1 Case #3: 5 Case #4: 4