add increment and reset functionality to QACounter