The human REM sleep cycle is 90 minutes long. As long as your sleep in multiples of 90 minutes, you'll feel rested. 9 hrs or 6 hours would work but not 10 hours or 30 minutes.
Edit: I meant the entire non-REM and REM sleep stages altogether and not just the specific section of REM.
Forgot skin tone and feeling empathy