Python Counter Most Common Time Complexity