The show's ratings have gone down due to competition over the years, but that doesn't mean they get bad numbers. The smaller number of episodes has to do with budget cuts, rather than viewership. And yes, Sesame Workshop has stated that HBO did save them from death, as PBS couldn't pay them anymore.