for ( int i = 0, length = entries.length; i < length; i++ ) {
if ( entries[i] != null ) {
RightTupleList rightTupleList = (RightTupleList) entries[i];
while ( rightTupleList != null ) {
if ( rightTupleList.first != null ) {
Entry entry = rightTupleList.first;
while ( entry != null ) {
entry = it.next( entry );
factCount++;
}
} else {