You can use the FREQUENCY function with numerical values. While it does count unique values, you can't use it with non-numeric data.