You omitted the name of the dataframe:
table(Clothing_data_set$Card)
Note that table() is intended for factors, not numerical vectors.
table()
Thank you that was very helpful and I looked up the vector information in your note as well!