Question (Thai):  ตั๋วมีเอกสารแนบกี่ใบ?
Question (English): How many tickets have attachments?
Table: customer
Pandas: data[data['Attachments'] == 'Yes'].shape[0]