@Override
	public int getUseCount(FunctionTag tag) {
		lock.acquire();
		try {
			if (tagCountCache == null) {
				buildTagCountCache();
			}
			Counter counter = tagCountCache.get(tag);
			return counter.count();
		}
		catch (IOException e) {
			dbError(e);
			return 0;
		}
		finally {
			lock.release();
		}
	}
Returns all function tags associated with the given function id.

@param functionId the function id
@return the tags
@throws IOException if there is an issue reading from the db
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionTagManagerDB.java