It would be two because there’s 1 Carbon and 2 oxygen
Glucose is a hexose monosaccharide. It is one of the three major monosaccharides along with fructose and galactose. These are carbohydrates with a general formula of Cₓ(H₂O)ₓ, where x could be any number.
Now, you don't have to know the structural formula of the glucose to answer this. Just account all the elements in the glucose. You know that there are 6 oxygen atoms all in all. One of them belongs to the single carbonyl group. Consequently, that would mean that the remaining 5 oxygen atoms bond with hydrogen atoms to form
5 OH groups.
Just to be sure let us refer to the structural formula of glucose shown in the picture. It indeed has 5 OH groups.
The number of dots represents the amount of valence electrons, which is the same as the last digit of the elements group number in ptof.