while (pos < page.getPageHeader().getDataLength()) { len = ByteConversion.byteToShort(page.data, pos + 2); pos = pos + len + 4; count++;
try { while (pos < page.getPageHeader().getDataLength()) { len = ByteConversion.byteToShort(page.data, pos + 2); if (len == OVERFLOW) pos += 12; else pos = pos + len + 4; count++; } } catch(Exception e) { LOG.warn(e.getMessage() + ": " + page.page.getPageInfo(), e); return 0;
	private final short getRecordCount(DOMPage page) {		int pos = 0, len;		short count = 0;		while (pos < page.getPageHeader().getDataLength()) {			len = ByteConversion.byteToShort(page.data, pos + 2);			pos = pos + len + 4;			count++;		}		return count;	}