**Problem Statement:**
Given an integer array `nums` sorted in non-decreasing order, remove the duplicates in-place such that each unique element appears only once. The relative order of the elements should be kept the same. Return the number of unique elements in `nums`.
**Hint / Expected Approach:**
Two-pointer in-place write
**Edge Cases to Consider:**
- (1) All duplicates
- (2) No duplicates
- (3) Single element