Whoopi Goldberg feels "very, very lucky" to be alive after being hospitalised for almost a month with pneumonia and sepsis.