I have an array that I would like to count the amount of different values that it holds. for example.
I would like to return 3 because that is the amount of unique numbers in the array.
also, I would like to do the same thing with an array that holds timestamps in the form of 2011-02-05 13:58:23 - i'm interested in finding the amount of unique stamps
thanks for the help.