When the following aldohexose exists in its D-configuration, the total number of stereoisomers in its pyranose form is

From the IIT-JEE 2012 · Paper 1 paper. Try it, check your answer, then read the worked solution below.
When the following aldohexose exists in its D-configuration, the total number of stereoisomers in its pyranose form is

Try it yourself first, then check your working against this.
Worked solution
The sugar is a 2-deoxyaldohexose: C2 is , and C3, C4, C5 are stereocentres.
D-configuration fixes C5. C3 and C4 can each be either way: open-chain D-isomers.
Pyranose form. Ring closure creates a new stereocentre at C1 (α or β anomer), doubling the count: .
Answer: 8
Concepts used: 2-deoxy sugar: C3, C4 free, anomeric carbon doubles the count
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Carbohydrates), each with a worked solution.
Timed, in the real format, and marked the moment you submit.