Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32wb/STM32WB10_CM4/TIM2/CNT#0x0
counter
Low counter value
High counter value (TIM2 only)
Value depends on IUFREMAP in TIM2_CR1.
https://github.com/modm-io/cmsis-svd-stm32