How to use the counter module