I've used `.getJSON` function to get shares and counts for a specific URL and I successfully got the shares and counts but I want the sum of these two too. This is the [fiddle](http://jsfiddle.net/Wm9M3/1028/) I made.

This is the Jquery I used

```
$(function () {
  var fburl = "http://graph.facebook.com/?id=http://www.bloggerever.com/2014/05/codeanywhere-most-useful-and-multi.html";

  $.getJSON(fburl, function (data) {

     var fbshares = data["shares"];
     $(".facebook").append(fbshares);
  });

  twitterurl = 'http://urls.api.twitter.com/1/urls/count.json?url=http://www.bloggerever.com/2014/05/codeanywhere-most-useful-and-multi.html&callback=?';

  $.getJSON(twitterurl, function (data) {
     var twittershares = data["count"];
     $(".twitter").append(twittershares);
  });

  var sumofboth = fbshares + twittershares;

  $(".sum").append(sumofboth);

```

});