I have a dataset of a series of names in different columns. Each column determines the time in which the names were entered into the system. Is it possible to find the number of times ALL the names appear and the most recent column entry. I added a picture to show how the dataset works.

Here's one method:
tidyverse
data.table
(though it is not sorted by
word, the values are the same)