Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l1/STM32L100/TIM2/CNT#0x0
counter
TIM2 counter
https://github.com/modm-io/cmsis-svd-stm32