how many times do patient 378 get a anticardiolipin antibody igg test in the first hospital visit?
select count(*) from labevents where labevents.itemid in ( select d_labitems.itemid from d_labitems where d_labitems.label = 'anticardiolipin antibody igg' ) and labevents.hadm_id in ( select admissions.hadm_id from admissions where admissions.subject_id = 378 and admissions.dischtime is not null order by admissions.admittime asc limit 1 )