I see from the below that you only count the comments to the post, but not the inner-comments to the comments?
def process_post(post):
if 'comments' in post:
for comment in post['comments']['data']:
commenter_id = comment['from']['id']
if commenter_id not in member_dict:
member_dict[commenter_id] = comment['from']
member_dict[commenter_id]['comment_count'] = 1
member_dict[commenter_id]['like_count'] = comment['like_count']
else:
member_dict[commenter_id]['comment_count'] += 1
member_dict[commenter_id]['like_count'] += comment['like_count']
process_post(comment)