@Override
	int getBookmarkCount(int typeId) {
		int cnt = 0;
		try {
			Field f = new LongField(typeId);
			RecordIterator it = table.indexIterator(V1_TYPE_ID_COL, f, f, true);
			while (it.hasNext()) {
				it.next();
				cnt++;
			}
		}
		catch (IOException e) {
			// return 0
		}
		return cnt;
	}
Constructor (Read-Only access)
@param dbHandle
@throws VersionException
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/bookmark/BookmarkDBAdapterV1.java