Alcohol
Alcohol strength, drink volume and a jurisdiction's definition of a unit are separate pieces of information.
In practice
Record the exact volume and alcohol-by-volume value before using a locally defined unit calculation. A count of glasses is not a stable measure when glass sizes and strengths differ.
Do not use arithmetic to infer fitness to drive, legal compliance or a personally safe amount.