PHP script to fetch the count of social shares as JSON or JSONP