Analysis data lives in data frames: tables where each column is a vector and every column has the same length. The tidyverse's version is the tibble, which prints neatly and shows each column's type under its name: <chr> for text, <dbl> for numbers, <int> for whole numbers, <date> for dates and <lgl> for TRUE and FALSE.
nrow(staff) counts rows and ncol(staff) counts columns. staff$hours pulls one column out as a vector, so every function from the last lessons works on it: sum(staff$hours). Assigning to a new column name adds it: staff$pay <- staff$hours * staff$hourly_rate.
tibble() builds a table from vectors, one argument per column. Click a table in the Environment pane to open it in the data viewer, where you can read every row.
Print the table, count its rows, pull out a column and summarize it.