Fix entry count in subtables.
Finished readable cdb implementation.