corrected error in Table.getLogCount()