code: protected void countTerms(TermedDocument termedDocument,
  			EntityStatistics entityStatistics) {
  		entityStatistics.countLabels += termedDocument.getLabels().size();
  		// for (MonolingualTextValue mtv : termedDocument.getLabels().values())
  		// {
  		// countKey(usageStatistics.labelCounts, mtv.getLanguageCode(), 1);
  		// }
  
  		entityStatistics.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();
  			entityStatistics.countAliases += count;
  			// countKey(usageStatistics.aliasCounts, languageKey, count);
  		}
  	}
docs: Count the terms (labels, descriptions, aliases) of an item or property
  document.
  
  @param termedDocument
  document to count the terms of
  @param entityStatistics
  record where statistics are counted