'Create a new instance based on a JSON dict.
Args:
data: A JSON dict, as converted from the JSON in the bitly API
Returns:
A bitly.Stats instance'

@staticmethod
def NewFromJsonDict(data):

    return Stats(user_clicks=data.get('userClicks', None), total_clicks=data.get('clicks', None))
