Hi,
As far as I understood your requirement do not need an incrementation to be achieved: You can use EMA blocks as much as needed with each set to a given period (3,5,8,10,...) and then compare their outputs: for this you need 2 EMA blocks per period to be able to compare 2 outputs in a given period and then conclude whether the trend is going up or down)
In case I misunderstood something, here is the way to set up a basic counter (from 1-->8)

Cheers