pub fn count_generic_raw( len: usize, mask: Option<&Bitmask>, null_count: Option<usize>, ) -> usize
Returns the number of valid (non-null) elements.