Coding over the phone as listed in the description
Anonymous
from collections import Counter data = """ Nick1 : Howdy Nick2 : Some message Nick3 : Something else Nick1 : I am good """ data = [i.split(":")[0] for i in data.split("\n") if i!= ""] print Counter(data)
Check out your Company Bowl for anonymous work chats.