docs: @VisibleForTesting
  	public int numKeyValueStateEntries(Object namespace) {
  		int sum = 0;
  		for (StateTable<?, ?, ?> state : registeredKVStates.values()) {
  			sum += state.sizeOfNamespace(namespace);
  		}
  		return sum;
  	}