Update SocialCount.php

I noticed that the former code, kept returning null. After little goggling I found an updated version, which is still not legal. It works well for me.