dynamicly determine the number of keys/datas in a csb node.