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

The aldohexose is (a 2-deoxyaldohexose); in the open chain C3, C4 and C5 are stereocentres, while C2 (a group) is not.
In the pyranose form the C5 hydroxyl adds to the C1 aldehyde to close a six-membered ring (C1 to C5 and the ring O). C1 becomes a new stereocentre (anomeric carbon bearing H, OH, ring O and C2), so the ring has four stereocentres: C1, C3, C4 and C5.
The D-configuration fixes C5. The other three stereocentres, C1, C3 and C4, can each take either configuration independently, and no combination gives a meso form.
Hence, the answer is 8.
Tagged Structural isomerism. Machine-assigned, so read it as a strong shortlist rather than a verdict.