def calculateHandlen(hand):
    """ 
    Returns the length (number of letters) in the current hand.
    
    hand: dictionary (string-> int)
    returns: integer
    """
    # MY IMPLEMENTATION
    # for every key in hand dictionary
    handlist = []
    for letter in hand.keys():
        # add letter to list as often as integer value associated with that letter
        for j in range(hand[letter]):
            handlist.append(letter)
    # return length of hand
    return len(handlist)