import copy


def CountUnique(inputList):
  """
  Count the number of unique entries in the supplied list
  """
  
  lInputList = copy.copy(inputList)
  lInputList.sort()
  
  count = 0
  if len(lInputList) > 0:
    count += 1
  for i in range(1, len(lInputList)):
    if not lInputList[i] == lInputList[i - 1]:
      count += 1
  
  return count