Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l0/STM32L062/TIM2/CNT#0x0
counter
Low counter value
High counter value (TIM2 only)
https://github.com/modm-io/cmsis-svd-stm32