docs: protected void countTerms(UsageStatistics usageStatistics,
  			TermedDocument termedDocument) {
  		usageStatistics.countLabels += termedDocument.getLabels().size();
  		for (MonolingualTextValue mtv : termedDocument.getLabels().values()) {
  			countKey(usageStatistics.labelCounts, mtv.getLanguageCode(), 1);
  		}
  
  		usageStatistics.countDescriptions += termedDocument.getDescriptions()
  				.size();
  		for (MonolingualTextValue mtv : termedDocument.getDescriptions()
  				.values()) {
  			countKey(usageStatistics.descriptionCounts, mtv.getLanguageCode(),
  					1);
  		}
  
  		for (String languageKey : termedDocument.getAliases().keySet()) {
  			int count = termedDocument.getAliases().get(languageKey).size();
  			usageStatistics.countAliases += count;
  			countKey(usageStatistics.aliasCounts, languageKey, count);
  		}
  	}