func: function count(BlockNumbReferenceCurrencies storage self, MonetaryTypesLib.Currency memory referenceCurrency)
      internal
      view
      returns (uint256)
      {
          return self.entriesByCurrency[referenceCurrency.ct][referenceCurrency.id].length;
      }