private void updateSubTitle() {
		int rowCount = overviewModel.getRowCount();
		int unfilteredCount = overviewModel.getUnfilteredRowCount();

		StringBuilder buf = new StringBuilder();
		buf.append(program.getName());
		buf.append(" (");
		buf.append(rowCount);
		buf.append(" functions");
		if (rowCount != unfilteredCount) {
			buf.append(" (out of ").append(unfilteredCount).append(')');
		}
		buf.append(")");
		setSubTitle(buf.toString());
	}
ComponentProvider to display the results of a BSim Overview query
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/gui/overview/BSimOverviewProvider.java