。
She had two glasses of wine at the party.
Literal
She [topic-は] party [at-で] wine [object-を] 2-glasses drank.
杯 (はい) is the counter for cups, glasses, and bowls of liquid or granular contents — 一杯 (いっぱい), 二杯 (にはい), 三杯 (さんばい), with the typical sound changes that counters undergo. The same 杯 appears in the toast 乾杯 ('cheers,' literally 'dry the cup'). Notice the bare numeral '2' written in full-width digit rather than spelled out 二 — a common stylistic option in modern Japanese for non-counter contexts and increasingly for counter contexts too, especially in print and digital media.