If there is "간" at the end of a time construction (몇시간) as you see in this case, it means "period of time". So the full sentence can be translated as:
1. How many hours you (I, he, etc.) slept yesterday morning?
2. Yesterday morning you (I, etc.) slept a few hours.