fixed error on decoding truncated utf16 strings
exposed values_number() and subkeys_number() from NKRecord class to Registry class