*Updated October 6, 2010: *Added support to automatically insert commas. The counts now look a lot better.
*Updated November 16, 2010: *A user posted a simple implementation of this concept written in PHP.
Updated December 29, 2010: Fixed a bug in the Facebook fan count because Facebook changed the name of the count element from ‘fan_count' to ‘likes'. Latest, greatest code.