private int getTotalCount(List<VectorResult> resultSet) {
		int count = 0;
		for (VectorResult res : resultSet) {
			count += res.hitcount;
		}
		return count;
	}
Returns the total number of hits in the given result set.

@param resultSet the list of vector results
@return the number of hits
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/AbstractSQLFunctionDatabase.java