I have struggled with task 1, but I have no idea how can we obtain the number of unknown/invalid for the variable. e.g, “There were 3 unknown/invalid values for the gender variable.” When I summary(data.all) it shows like below. I have no idea I use the solution Rmd file on the SOA website, but I still cannot run the same stuff. Thank you so much for everyone who can advice me.