PDM Counter in DW

Hello 

I would have liked to retrieve the PDM counter in DW, but this is not possible.

So I'd like to create a counter in DW, but how do I do that?

Thank you