calculate the length of the hospital stay of patient 77980 for the first hospital stay.
select strftime('%j',admissions.dischtime) - strftime('%j',admissions.admittime) from admissions where admissions.subject_id = 77980 and admissions.dischtime is not null order by admissions.admittime asc limit 1