instruction: count the number of times that patient 027-154299 received the procedure for antihypertensive drug - nimodipine during the first hospital encounter.
response: SELECT COUNT(*) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-154299' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)) AND treatment.treatmentname = 'antihypertensive drug - nimodipine'