I used to use a firefox extension that showed the number of open tabs in the corner, as I found firefox would sometimes go wrong and loose everything I had open when I got to about four thousand open tabs.
I didn't get around to reinstalling it after a fresh install.