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