import urllib2 as irl
import json

c = 0
url = raw_input('Enter Location: ')
data = irl.urlopen(url).read()
comm = json.loads(data)

print 'Count:', len(comm["comments"])
for item in comm["comments"]:
    c += int(item["count"])
print 'Sum:', c

a2d7cd8f9690a9281a8a3df9b80d71463f9ca8cb
import urllib2 as irl
import json

c = 0
url = raw_input('Enter Location: ')
data = irl.urlopen(url).read()
comm = json.loads(data)

print 'Count:', len(comm["comments"])
for item in comm["comments"]:
    c += int(item["count"])
print 'Sum:', c
