def count_smileys(arr):
    smiley, counter= [":)", ":-)",":~)",";)", ";-)",";~)",":D", ":-D",":~D",";D", ";-D",";~D"], 0
    for i in range(len(arr)):
        if arr[i] in smiley: counter += 1
    return counter
caf043ea03e94abd9033ae03b3ff2501fbc905d9
<mask token>

def count_smileys(arr):
    smiley, counter = [':)', ':-)', ':~)', ';)', ';-)', ';~)', ':D', ':-D',
        ':~D', ';D', ';-D', ';~D'], 0
    for i in range(len(arr)):
        if arr[i] in smiley:
            counter += 1
    return counter

def count_smileys(arr):
    smiley, counter= [":)", ":-)",":~)",";)", ";-)",";~)",":D", ":-D",":~D",";D", ";-D",";~D"], 0
    for i in range(len(arr)):
        if arr[i] in smiley: counter += 1
    return counter