public long getCommentAddressCount() {
		try {
			return commentAdapter.getRecordCount();
		}
		catch (IOException e) {
			program.dbError(e);
		}
		return 0;
	}
Returns the number of addresses that have associated comments.
@return the number of addresses that have associated comments
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeManager.java