The social extension has slightly different functionality, mainly has a wider range of services that it links to, has pseudo counts, needs JavaScript and is spyware imho - but this snippet is simpler and always there in the templates at the moment - not sure if should be more configurable.