杯 (HAI: counter for drinks; glassful, spoonful)
It’s as easy as 1-2-3:
一杯 (ippai: a glass (of beer)) one + glass
茶二杯 (cha nihai: two cups of tea) tea + two + cups
砂糖三杯 (satō sanbai: three spoonfuls of sugar)
sugar (1st 2 chars.) + three + spoonfulsThe first compound, 砂糖 (satō: sugar), breaks down as granular + sugar.