code: public int getNumberOfTermParameterMappings() {
          int i = 0;
          for (final List<Integer> value : termParameterIndex.values())
              i += value.size();
          return i;
      }
docs: Returns the number of term-parameter mappings
  
  @return int