How many 32-bit variables do you need? There are another sixteen 32-bit variables EMLINT[1] to EMLINT[16] that you can use for this purpose.
If it is not sufficient, then you need to combine two DM into one by adding a bit more codes:
Say DM[1] and DM[2] are used together:
DM[1] = DM[1]+1
IF DM[1] > 10000
DM[1] = 0
DM[2] = DM[2]+1
ENDIF
This way, the total value = DM[2] x 10000 + DM[1]
The maximum count value is 327,670,000 (327 million).
Letting DM[1] rolls over at 10000 make it easier to read but you can increase maximum count by letting it roll over at 32767 which allows up to >1 billion count.