put counter in systick_handler