Extract total subject count from ADaMData or calculate from data frame.
For ADaMData, uses the computed subject_n property which respects
population filters.
Examples
if (FALSE) { # \dontrun{
# From ADaMData - uses computed property
adam <- ADaMData(data = adsl, domain = "ADSL", population = "FAS")
n_subj <- get_subject_n(adam)
# From data frame
n_subj <- get_subject_n(adsl, population = "FAS")
} # }
