There are numerous ways of counting the values in a vector, including the familiar (but fraught) table()

Is there a safe/reliable method that uses dplyr / tidyverse?

Note plyr::count() seems to work nicely, but is obviously from plyr rather than dplyr

c(1,3,3,3,4,4) %>% plyr::count()
  x freq
1 1    1
2 3    3
3 4    2