Please check the line 9

 $().crmAPI('Contact','get', {'callBack': function(data){ alert(data.count);}  });