add parent NKrecord accessors. test cases.
add nkrecord getnumberofvalues
add tests
add nkrecord numberofsubkeys. add tests.