I have used the following code in order to produce a table showing me the number of duplicates for the serial variable of my dataframe:
des_serial_duplicates <