The number of hydroxyl group(s) in Q is

Key idea: Acid dehydration goes through a carbocation that rearranges (1,2-methyl shift) to a more stable tertiary cation and gives a second C=C. Cold, dilute, excess then adds two OH groups across each C=C.
So Q has 4 hydroxyl groups.
Answer: 4
Tagged Properties and reactions of alcohols. Machine-assigned, so read it as a strong shortlist rather than a verdict.