Ouch, that snippet is ancient (I am kinda its author, more precisely adapted to twitter from other snippet). I would strongly consider using some newer solution.
I had later made newer and written from scratch version, try it http://www.rarst.net/script/twitter-counts-wordpress/