Added callback to addSocialCounts function to allow for using the data in other ways