n_available function

Number of available (non-missing entries) in a vector