Transform a temporal discrete sequence value into a temporal integer value for performing temporal count aggregation.