Count Unique R, We will be using the table () function to get the count of unique values.