This is a Firefox extension that show the tab count for each window as a preface in its title.
Link: Tab Count in Window Title on addons.mozilla.org