code: public int getTotalTriples() throws Exception {
  		int total = 0;
  		for (HashMap<String, Integer> mappingStat : statistics.values()) {
  			for (Integer triplesCount : mappingStat.values()) {
  				int triples = triplesCount.intValue();
  				if (triples == -1) {
  					throw new Exception("An error was occurred in the counting process.");
  				}
  				total = total + triples;
  			}
  		}
  		return total;
  	}
docs: Gets the total number of triples from all the data sources and mappings.
  
  @return The total number of triples.
  @throws Exception