How do I add a counter to my form?