Hi, first of all, please provide reproducible examples, not screenshots.
Secondly, it would be good if you shared your code. What have you tried?
Thirdly, have a look at dplyr::count().
dplyr::count()