public int getTotalTermCount(SQLconnection sqLconnection, int paperID) {
		String query = "select totalcount from papertermcount where paperID="
				+ paperID;
		int count = 0;
		ResultSet rs = sqLconnection.Query(query);
		try {
			rs.next();
			count = rs.getInt("totalcount");
			rs.close();
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return count;
	}