protected int fetchNumRows(Database db) throws SQLException {
protected int fetchNumRows(Database db) {
    protected int fetchNumRows(Database db) throws SQLException {        try {            // '*' should work best for the majority of cases            return fetchNumRows(db, "count(*)");        } catch (SQLException exc) {            try {                // except nested tables...try using '1' instead                return fetchNumRows(db, "count(1)");            } catch (SQLException try2Exception) {                System.err.println(try2Exception);                System.err.println("Unable to extract the number of rows for table " + getName() + ", using '-1'");                return -1;            }        }    }