I never said it. Honest. Oh, I said there are maybe 100 billion galaxies and 10 billion trillion stars. It's hard to talk about the Cosmos without using big numbers. I said "billion" many times on the Cosmos television series, which was seen by a great many people. But I never said "billions and billions." For one thing, it's too imprecise. How many billions are "billions and billions"? A few billion? Twenty billion? A hundred billion? "Billions and billions" is pretty vague. When we reconfigured and updated the series, I checked-and sure enough, I never said it.
"Billions and Billions: Thoughts on Life and Death at the Brink of the Millennium". Book by Carl Sagan, 1997.